Hi,
Below is that actual SOAP message I want to send as a response. Is it possible to hardcode this as a string and send it across? How do I do it? What classes do I need to use?
<!--getVersion response-->
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelo pe xmlns:soapenv=" http://schemas.xmlsoap .org/soap/envelope/">
<soapenv:Head er />
<soapenv:Body >...
User Profile
Collapse
-
Controlling what goes into the SOAP message
-
Yes...pls move the thread to an appropriate forum! Thanks a lot!... -
yes, the ArrayOfEmployee is generated automatically. Whereas I want my output to be:
[html]- <EmployeeList xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http ://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/">
- <employee>
<FirstName>Robi n</FirstName>
<LastNameName>S harma</LastName>
</employee>
...Leave a comment:
-
web service - returning array of custom type
Hi,
I have the following type definition in my wsdl.
[html]<xs:complexTy pe name="employeeT ype">
<xs:all>
<xs:element name="FirstName " type="xs:string " />
<xs:element name="LastName" type="xs:string " />
</xs:all>
</xs:complexType>[/html]
Then I have this definition for a list(array) of employees:... -
Hardcoding and sending soap responses...
Hi,
I need to develop a simulator for my webservice. This simulator will be used by the clients development team.
Client has given me a wsdl file. My simulator has to be a web service itself. Simulator has to accept requests from the client and send back hardcoded responses. I've also been asked to use https.
The wsdl lists out the operations. So I guess I have to make one WebMethod for each of the operations?...
No activity results to display
Show More
Leave a comment: