cancel
Showing results for 
Search instead for 
Did you mean: 

Soap receiver wsdl having soap envelop

former_member228109
Participant
0 Kudos

Hello Experts ,

We are having Proxy to Soap synchronous scenario .In given wsdl , we are having soap header and soap body in soap envelop .In soap header we are having username and password as parameters while in soap body we are having normal fields . Please let me know how we can pass the data to the soap header  because while creating service interface for soap side , we can not add header as well as body in single request tab.

Kindly let me know how to proceed.

Regards ,

Nikhil Save

Accepted Solutions (1)

Accepted Solutions (1)

Muniyappan
Active Contributor
0 Kudos

Check Praveen Gujjeti's blog

choose case 3 if you want to header information in ID.

former_member228109
Participant
0 Kudos

Hi Muniyappan ,

I have followed as per praveen's blog . But now we are getting below error in message monitoring .

So i added MessageTransformationBean in receiver comm channel as below .

But now we are getting Object not found in lookup of MessageTranspormationBean error as below.

Kindly suggest what can be done .

Regards ,

Nikhil Save

Muniyappan
Active Contributor
0 Kudos

Hi,

there is typo in your module name

use localejbs/AF_Modules/MessageTransformBean

and keep it one only for text/xml. remove application/xml

so the order will be.

1. headerbean

2.transformbean

3.XISoapadapterbean

if it gives same error interchange the modules and check.

1.transformbean

2. headerbean

3.XISoapadapterbean

Regards,

Muni.

former_member228109
Participant
0 Kudos

Hi Muni ,

Thanks . There was a typo . Now i have changed that and followed as you have mentioned above . So the previous error has gone . But now we are getting http 400 bad request error as below .

Kindly suggest what can be done .

Regards ,

Nikhil Save

Muniyappan
Active Contributor
0 Kudos

Hi,

can you test the soap message from soap ui? are you able to send the message from soap ui?

can you share your receiver channel configuration here?

former_member228109
Participant
0 Kudos

Hi Muni ,

We cant test from any third party sofrware as client has given access to their wsdl  only for PI IP address .

Below are the receiver channel configurations.

Please let me know what we are missing .

Regards ,

Nikhil Save

Muniyappan
Active Contributor
0 Kudos

Hmm.

Can you please ask the webservice team to monitor incoming message from PI? may be they can get the incoming message and test it from webservice side.

this error seems to be because of something is wrong with message format.

ask them to check if your request data is creating any exception in webservice side.

also you can ask web service team if they have any tools to test this webservice from outside application.

can they accept text/xml content type? or any other specific type they are looking?

i hope you are using correct url and soap action.

Regards,

Muni.

former_member228109
Participant
0 Kudos

Hi Muni ,

Thanks a lot for your support .

We will ask them whatever you have mentioned above and let you knw .

Yes we are using correct url and soap action.

Regards ,

Nikhil Save

Answers (0)