|
Greetings, I am calling an existing webservice with no operations defined. We simply pass some xml. The server expects the request to look like this: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> XML DATA </soap:Body> </soap:Envelope> But when I call the service, my request looks like the following. I used wsdl2java to generate my classes. <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <requests xmlns="webservicenamespace etc"> MY XML DATA </requests> </soap:Body> </soap:Envelope> How can I format the request according to what the server is expecting (i.e. get rid of the requests operation)? Many thanks! |
- No Operation Niall McLoughlin
- Re: No Operation Anne Thomas Manes
- Re: No Operation Niall McLoughlin
