Modifying Soap-Response

B

Bert Leu

Hi

I've got two questions to Soap unter VB.Net

1) if one creates a WebService with a method i.g. "MethodX" (with
VB.Net),
the Soap-Response looks like:

<soap:Envelope...>
<MethodXResponse...>
<MethodXResult> ...

Unfortunately, the Client wants the following form: (without the
....Response... row):

<soap:Envelope...>
<MethodXResult> ...

-- does exist an option to supress the ....Result - Row ?


2) Is there a possibility to modify (or create) a Soap-Request? I've seen
SoapExtensions, but this looks *fairly complicated...

Thaks a lot
Bert Leu
 
B

bruce barker

no, because thats not standard soap. soap is a method call, response. so the
standard is body is:
<SOAP:Body>
<methodName>
<methodResponse />
</methodName>
</SOAP:Body>

where <methodResponse> is made up for xsi: defined types. you can make a now
SOAP web service return whatever you want, but you will need to supply the
input parsing and output writing routines yourself. just make a handler.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,585
Members
45,081
Latest member
AnyaMerry

Latest Threads

Top