Note: this may appear to be a large post but I wanted to be sure to provide enough detail.
Also, Thanks in advance for any assistance.
Okay, here’s the scoop.
I have a web service that I want to set up a call to from with in Developer. So I created a new webservice connector. The existing web service has four operations.
The input (Request) is a complex type with a couple “is-a” relationships and a couple “has-a” relationships. The output (Response) from the service is a complex type as well, and it “has-a” attribute that is the same type as the original input object graph.
From outside of webMethods, using traditional clients, I can call this web service and it returns successfully the correct object graph. I have called it from a normal client the was used with wsdl2java and from a WSIF client as well.
When I create a Web Service Connector from my wsdl, when I am in Developer, webMethods complains about the wsdl. It says “[ITD.0012.0011] Web Service Connector created successfully but with warnings.” A portion of the details message is pasted below.
When I look at the docTypes that were created for my Request, it appears that the relationships are all correct. But the Response docType is missing some of the relationships. It is missing the (has-a) attribute that is the same “type” as the input (request). Again, remember, the Output (Response) “has-a” attribute that is the same complex type as the input (Request).
When we try to run the web service in webMethods, it appears to be getting back all of the data and relationships that it should, but, it does not know what to do with them because, of course, there is a mis-match between what comes back and the Response docType.
Below are screen shots of the Request and the Response. The Request appears correct but the attribute in the Response called “requestInput” should look exactly the same as the Request but does not.
Finally, I will post the wsdl in a separate post as this one will be too long!
THE ERROR MSG DETAILS
WSDL code: S-9043
[ISS.0092.9043] Schema Error: 1
errorMessage: [ISC.0082.9702] Duplicate definition found in schema nextEBICRDelivery.connector.ScheduleAndDeliveryServiceRemote.docType:schema_saveAIScheduleRequestRequest with the same target namespace.
WSDL code: S-9043
[ISS.0092.9043] Schema Error: 2