on 03-10-2011 12:01 PM
Hi
In PI 7.11 I am suppose to call a webservice with more than 60 operations. I have imported the Service interface in ESR by referring to the wsdl and hence all the operations are "loaded" in the Service interface and the wsdl including all the messages has also been imported under External Definitions. However, some of the operations only have a response message and others only have a request message.
PI requires both a response and a request message in a synchroneous Service interface, so how do I work around this challenge?
When I import the wsdl directly in SOAPUI the request may look like this for the operation getPartnerTypeElKunde:
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:service.isb.informi.dk">
<soapenv:Header/>
<soapenv:Body>
<urn:getPartnerTypeElKunde soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</soapenv:Body>
</soapenv:Envelope>
BR
MIkael
I am not clear what you actually want to know.
You should talk to the guys who provide the WSDL what message is expected.
Zhey can tell you, what message they expect and more important: Which data must be transferred.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> The problem is, that no message is expected when calling the web service. All they expect is that I specify the operation as indicated in the SOAP request snippet. No (business) data is expected when calling the web service.
You are wrong. They expect an (empty) message with message type getPartnerTypeElKunde
This is your request message. So define a sync interface with request message type getPartnerTypeElKunde.
You can set message interface as async.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.