cancel
Showing results for 
Search instead for 
Did you mean: 

Consuming WCF-Webservices using XI/PI

Former Member
0 Kudos

Hello,

I'am trying to consume a WCF-Webservice with the XI/PI. First I imported the WSDL of this webservice as an external definition - so far so good. But when I try to create a message-mapping, no fields are available and the XI/PI says something like "null-pointer exception". I suppose it's because there are no field definitions in the WSDL (seems, that the fields I'am missing are downloaded in the background when using anything other to test the webservice, eg. SoapUI).

Can someone give me a hint how to comsume WCF-Services with the XI? Maybe it's a problem with the WSDL, but how can I put the fields/parameters into the WSDL?

Thank in advance

Thomas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

1.Once you import the WSDL under External Definition then you should be able to see the messages under the message tab which indicates input/output message types of your Web service

2.If you are not sending any request and not expecting any response from web service then this message tab will be empty

if web service contains reference to input and output strucuteres then PI editor can not refer them

in that case do a copy the structure of messages into WSLD and reimport agian

HTH

Rajesh

Former Member
0 Kudos

Hello Rajesh,

in easy words for beginners: I have to move the information about the fields/parameters from the XSD into the WSDL...

Thanks

Thomas

Answers (0)