cancel
Showing results for 
Search instead for 
Did you mean: 

WSDL Problem (Sender WebService)

former_member537867
Active Contributor
0 Kudos

Hi,

Our scenario is Webservice to SAP, recently as per the new requirement 2 new fields were added to structure. Earlier WSDL was given from ID(Tools --> Define Webservice) , now similarily after addition of 2 fields in structure a new WSDL was generated from ID again & was given to client.

While generating WSDL i had used URL for Integration Engine, bypassed adapter engine , first WSDL was also given in similar way.

Now while testing this scenario two new feilds are not getting populated in payload. Webservices system is sending that values but not getting reflected in PI.

Already tried refreshing cache, complete cache refresh but no use.

Can anyone give some suggestions, it will be helpful in resolving issue ..

Regards,

Vinod.

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Now while testing this scenario two new feilds are not getting populated in payload. Webservices system is sending that values but not getting reflected in PI.

Not sure what you meant by this one, since the WSDL was generated in PI, it should reflect at least for the sender side. Now, I am assuming you are using an RFC exposed as a webservice, if this is the case, can you start/stop the RFC receiver communication channel so that the RFC metadata gets refreshed?

If this still does not work, check your unicode settings in both PI and R3.

Hope this helps,

Mark

former_member537867
Active Contributor
0 Kudos

Hi Mark,

Scenario is SOAP to RFC synchronous communication, even i got the same doubt after doing modification to old sender structure and giving new WSDL(generated from ID) to client that new field values are not reflecting in moni payload.

From sender system they are passing values for the new 2 fields added.

Not able to identify where problem is....?

Regards,

Vinod.

rajasekhar_reddy14
Active Contributor
0 Kudos

Once PI receives request from Sender system is that payload is having newly added fields? If No then problem from their end .

Once you provided new WSDL to the sender system they have to import new WSDL in their environment and they have to adjust coding.

Regards,

Raj

Answers (3)

Answers (3)

former_member184681
Active Contributor
0 Kudos

Hi Vinod,

Actually, I doubt if PI could have problems receiving a message that is based on the .wsdl file generated from PI itself. This is what makes me think there might be a problem on the sender's side. I would suggest using the TCP Gateway tool (tcpgw) to capture the SOAP call and make sure if those fields missing in PI are really sent by sender system.

Have a look a this blog by Stefan Grube for details:

http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6172

Still, you would use it a little bit differently from what Stefan described, as you need it on the sender side. So you would have to run tcpgw on the PI server and enable it for correct port (80 or 443, depending on whether you use HTTP or HTTPS).

Hope this helps,

Greg

former_member537867
Active Contributor
0 Kudos

Hi,

Even my intention was same, i had given a new wsdl after adding fields. I can see those new fields in WSDL file not sure where error is ??

@Rajshekar:

I'm not getting new field values in payload itself, those two fields are not reflecting in PI moni.

Can any one give some suggestions pls..???

Regards,

Vinod.

former_member184681
Active Contributor
0 Kudos

Dear Vinod,

What Raja Sekhar an I were trying to tell you is that most probably that new .wsdl file was not imported to the sender system at all, or at least not imported properly, so they can still be sending the data of the previous format. And I suggest once more using the tcp gateway I mentioned in my previous post to get a proof for that.

Hope this helps,

Greg

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Couple of hints.

After generating the WSDL with new fields added, check whether those two new fields are reflected in the wsdl. If so, then your WSDL generation is right.

Remove the old versions and maintain one wsdl always. Also tell your partner to reference the latest WSDL.

Test using SOAPUI or XMLSPY loading the lastest WSDL and see whether you see latest request or response structure.

If you are using version PI 7.1 or above , the easy way to do is go to sender agreement and pick display wsdL option and generate it. You dont manually input all the interface name, namespace details.

Hope this help.

former_member537867
Active Contributor
0 Kudos

Hi Basker,

We are using PI 7.0 version, after WSDL generation i had checked for new feilds those new fields are available in new WSDL.

You were advicing to remove old WSDL and maintain one new WSDL can you pls let me know where you are asking to remove old WSDL..?

Regards,

Vinod.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>You were advicing to remove old WSDL and maintain one new WSDL can you pls let me know where you are asking to remove old WSDL..?

I meant at the testing side either at soap client or xmlspy or at webservice client consuming side.

gagandeep_batra
Active Contributor
0 Kudos

Hi,

Did u activate them?

Regads

Gagan

former_member537867
Active Contributor
0 Kudos

Hi Gagan,

Objects were already activated.

Thanks,

Vinod