cancel
Showing results for 
Search instead for 
Did you mean: 

Pay load disappears when I call .Net WS from XIu0085.

Former Member
0 Kudos

Hi,

My scenario is Client proxy -> XI -> Receiver SOAP.

I am trying to call a .Net WS..

It is Asynchronous call. After receiving the call he is logging the request I sent in a file.

When I called WS from XML spy… he can able to log the request I sent in a file.

But when I execute my scenario from XI… He is not able to see the payload.. the payload is empty by the time it reaches the WS.

But in XI everything is shows success.. even in RWB I checked the adapter monitoring.. I can see the payload in adaptor monitoring….

I am not sure where it is going wrong.. where the payload is disappearing…

Edited by: ashok sri on Jan 8, 2008 9:17 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

VijayKonam
Active Contributor
0 Kudos

Check in SXMB_MONI both inbound and the Technical routing node. In between these two pipeline steps the message mapping happens. Check if you pay load is getting carried to the next step.

VJ

Former Member
0 Kudos

I checked in SXMB_MONI....

I can see the pay load in all the nodes..

i can see my payload in inbound message, Receiver identification, Interface determination, Receiver Grouping, Message mapping according to Receiver List, Requests message mapping, Technical Routing.

Even i can see my payload in RWB adapter monitoring...

still i am not able to find where this payload is disappearing...

Former Member
0 Kudos

Hello Friends,

Any help on this issue...

still i am struggling on this..

if i use simple graphical mapping i can pass my payload to WS.

But my WS expecting only one string.. i have to concatinate my XML into a simple string and i have to pass to WS structure.. for that i am using the following simple XSL mapping program which i found in SDN. I am not able to understand what is wrong with my XSLT mapping.. it is working fine in ID test tab.

My XSL program is :

<?xml version='1.0' ?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:p2="http://tempuri.org/">

<xsl:template match="/">

<p2:Test xmlns:p2="http://tempuri.org/">

<szXmlDoc>

<xsl:text disable-output-escaping="yes"><![CDATA[<![CDATA[]]></xsl:text>

<xsl:copy-of select="/"/>

<xsl:text disable-output-escaping="yes"><![CDATA[]]]]></xsl:text>

<xsl:text disable-output-escaping="yes"><![CDATA[>]]></xsl:text>

</szXmlDoc>

</p2:Test>

</xsl:template>

</xsl:stylesheet>

******************************

My WSDL for the WS which i am calling is:

<?xml version="1.0" encoding="utf-8"?>

<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

<wsdl:types>

<s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">

<s:element name="Test">

<s:complexType>

<s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="szXmlDoc" type="s:string" />

</s:sequence>

</s:complexType>

</s:element>

<s:element name="TestResponse">

<s:complexType />

</s:element>

</s:schema>

</wsdl:types>

<wsdl:message name="TestSoapIn">

<wsdl:part name="parameters" element="tns:Test" />

</wsdl:message>

<wsdl:message name="TestSoapOut">

<wsdl:part name="parameters" element="tns:TestResponse" />

</wsdl:message>

<wsdl:message name="TestHttpGetIn">

<wsdl:part name="szXmlDoc" type="s:string" />

</wsdl:message>

<wsdl:message name="TestHttpGetOut" />

<wsdl:message name="TestHttpPostIn">

<wsdl:part name="szXmlDoc" type="s:string" />

</wsdl:message>

<wsdl:message name="TestHttpPostOut" />

<wsdl:portType name="MyServiceSoap">

<wsdl:operation name="Test">

<wsdl:input message="tns:TestSoapIn" />

<wsdl:output message="tns:TestSoapOut" />

</wsdl:operation>

</wsdl:portType>

<wsdl:portType name="MyServiceHttpGet">

<wsdl:operation name="Test">

<wsdl:input message="tns:TestHttpGetIn" />

<wsdl:output message="tns:TestHttpGetOut" />

</wsdl:operation>

</wsdl:portType>

<wsdl:portType name="MyServiceHttpPost">

<wsdl:operation name="Test">

<wsdl:input message="tns:TestHttpPostIn" />

<wsdl:output message="tns:TestHttpPostOut" />

</wsdl:operation>

</wsdl:portType>

<wsdl:binding name="MyServiceSoap" type="tns:MyServiceSoap">

<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />

<wsdl:operation name="Test">

<soap:operation soapAction="http://tempuri.org/Test" style="document" />

<wsdl:input>

<soap:body use="literal" />

</wsdl:input>

<wsdl:output>

<soap:body use="literal" />

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:binding name="MyServiceSoap12" type="tns:MyServiceSoap">

<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />

<wsdl:operation name="Test">

<soap12:operation soapAction="http://tempuri.org/Test" style="document" />

<wsdl:input>

<soap12:body use="literal" />

</wsdl:input>

<wsdl:output>

<soap12:body use="literal" />

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:binding name="MyServiceHttpGet" type="tns:MyServiceHttpGet">

<http:binding verb="GET" />

<wsdl:operation name="Test">

<http:operation location="/Test" />

<wsdl:input>

<http:urlEncoded />

</wsdl:input>

<wsdl:output />

</wsdl:operation>

</wsdl:binding>

<wsdl:binding name="MyServiceHttpPost" type="tns:MyServiceHttpPost">

<http:binding verb="POST" />

<wsdl:operation name="Test">

<http:operation location="/Test" />

<wsdl:input>

<mime:content type="application/x-www-form-urlencoded" />

</wsdl:input>

<wsdl:output />

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="MyService">

<wsdl:port name="MyServiceSoap" binding="tns:MyServiceSoap">

<soap:address location="http://vdi00224/wservices/CRMToDotNet/MyService.asmx" />

</wsdl:port>

<wsdl:port name="MyServiceSoap12" binding="tns:MyServiceSoap12">

<soap12:address location="http://vdi00224/wservices/CRMToDotNet/MyService.asmx" />

</wsdl:port>

<wsdl:port name="MyServiceHttpGet" binding="tns:MyServiceHttpGet">

<http:address location="http://vdi00224/wservices/CRMToDotNet/MyService.asmx" />

</wsdl:port>

<wsdl:port name="MyServiceHttpPost" binding="tns:MyServiceHttpPost">

<http:address location="http://vdi00224/wservices/CRMToDotNet/MyService.asmx" />

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

Edited by: ashok sri on Jan 9, 2008 10:13 PM

Edited by: ashok sri on Jan 9, 2008 11:00 PM

Former Member
0 Kudos

Hello Friends,

can anybody help me to find what is wrong with my XSLT mapping.. why WS is receiving empty payload...

i am still fighting with this..

Former Member
0 Kudos

hi

did you test the interface mapping and one more thing did you give the XPATH correctly to the generated xml by XSLT mapping for the reciever structure in message mapping\

thanks and regards

sandeep

Former Member
0 Kudos

Hi,

Thanks for your replys.

Sorry i forgot to close this thread.

I resolved my problem by changing the name space.

Actually there was small error in name space, thats why the payload was not visible.

Thanks to all.