cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Message

former_member188791
Participant
0 Kudos

Hi Group,

We are using PI provided

webservice to receive third party request message,when third party sending message PI processing message but not getting

the full message in both sender and receiver Adapter Coomunication channel,but in MONI it is showing the full request message.

However the same webservice when I was testing in SOAP UI the payloads are coming correctly in both sender and Receiver channels.

When I compared the two messages I am getting the only difference in Header,here I am attaching those,can any body help how we can resolve this.

SOAP UI Request Header

----------------------------------------

  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--  Inbound Message
  -->
- <urn:MT_trsreg xmlns:urn="urn:trsreg" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

<XMLMessage>

   Request Message

</XMLMessage>

</urn:MT_trsreg>

Third Party Message Header

---------------------------------------

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!--  Inbound Message

  -->

- <MT_trsreg xmlns="urn:trsreg" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 

  <XMLMessage xmlns="">

   Request Message

</XMLMessage>

</MT_trsreg>

Accepted Solutions (0)

Answers (8)

Answers (8)

former_member188791
Participant
0 Kudos

Hi Group,

Even when I am testing web service URL in Service registry also I am getting the same Message Header as request received from third party,can any body suggest how I can get rid of SOAP envelop

former_member188791
Participant
0 Kudos

Hi Group,

Can any body suggest on my post

former_member188791
Participant
0 Kudos

Hi Group,

Can any body suggest on my post

nageshwar_reddy
Contributor
0 Kudos

Can you please show the module configuration you are using?

You should be able to achieve the same result as SOAP UI by using the following module configurtion:

former_member188791
Participant
0 Kudos

Hi Nageshwar,

Thank you for your reply,but I tried the above option exactly the same shown in your screen shot,but still its not working.

Any suggestion/advices welcome

former_member188791
Participant
0 Kudos

Hi Group,

Can any body please help on this issue

nageshwar_reddy
Contributor
0 Kudos

Can you post your Module configuration, input message and output message? That might help in analyzing the issue...

former_member188791
Participant
0 Kudos

Hi Nageshwar,

Here I am attaching module configuration

nageshwar_reddy
Contributor
0 Kudos

Rajiv, I see that you have posted what it is getting transformed to in your message early on... But what is the source before removing namespaces? Also, are you having problems with no payload or is it incorrect payload due to namespaces?

former_member188791
Participant
0 Kudos

Hi Nageshwar,

In Sender SOAP adapter it is not giving payload,just its giving name space and root node,but in MONI it is showing full payload,in the receiver adapter payload and final output also  same as sender adapter payload

former_member188791
Participant
0 Kudos

Hi Group,Can any body help on my above topi

former_member188791
Participant
0 Kudos

Hi All,

They are using same URL only and third party unable to change code,is there any way we can change it in PI it self to get rid of thoose extra lines

iaki_vila
Active Contributor
0 Kudos

Hi Rajiv,

If the problem is in the response you could clean all namespaces with XMLAnonymizerBean and later to use an XSL to write the correct namespace.

Regards.

former_member188791
Participant
0 Kudos

HI Inaki,

I tried XML Anonymizer already,but its not working

former_member188791
Participant
0 Kudos

Hi Group,

My issue is not yet solved,can any body suggest solution.

It is working fine with SOAPUI but when third party sending messages its not wkring,

baskar_gopalakrishnan2
Active Contributor
0 Kudos

IMO, the problem is not at your side. It's on the sender side. Suggest them to use your WSDL and webservice client objects accordingly. I believe some soap version difference issues or XML parsers usage might have cause the issue at sender side. Notify your problem to sender system the way you expects.

Former Member
0 Kudos

Hi Rajiv, is PI generating an error at all when you don't get the response?

Did you check Both Adapter engine and Integration engine for error message? What about NWA Logs?

Former Member
0 Kudos

Hi Rajiv,

You need to confirm, if they are using the Same URL that was shared by you. There can be possiblities, where third party might have done some additonal translation to the URL as per their requirement, also need to check, if the URL is not being truncated while consuming your network Web service

Also confirm, if there isn't any difference between the  SOAP version you both using while consuming the webservice

Thanks,

     Suji

former_member188791
Participant
0 Kudos

HI Suji,

Third party vendor using same URL provided by us, and they cant change any code their end,is there any way we can alter in PI

former_member188791
Participant
0 Kudos

HI Suji,

Third party vendor using same URL provided by us, and they cant change any code their end,is there any way we can alter in PI

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

In your SOAP UI, there is a tab called raw, can you click on this tab and then paste the HTTP Header (the values just above the soap envelope)?

Hope this helps,

Mark

iaki_vila
Active Contributor
0 Kudos

Hi Rajiv,

The difference is also in the payload namespace and there is quite different in both cases:

A)

<urn:MT_trsreg xmlns:urn="urn:trsreg"...>

B)

<XMLMessage xmlns="">

I'd rather to work inside PI without namespace ought to the differences between the two sources. You could add the module XMLAnonymizerBean in order to delete all the namespaces in the payload

http://help.sap.com/saphelp_nw04/helpdata/en/45/d169186a29570ae10000000a114a6b/frameset.htm

Regards.

Message was edited by: Iñaki Vila