on 10-12-2009 9:23 AM
Hi All,
My Requirement was to publish a RFC as a webserice in PI7.1.
I did the entire configuration and publish display the sender agreement as webservice and took the WSDL from there.
when I test this using SOAP UI tool then this WSDL works fine where the URL is standard
http://host:port/XISOAPAdapter/MessageServlet?channel=:CommunicationComponent:ComminicationChannel
But when I an tring to Use this wsdl in EP I am getting following error.
Cannot Chosse this operation:There is no associated SOAP Binding.
Am I doing Something wrong??
Please help.
Regards,
Hi Nidhi,
Can you paste the following here:
port type and its binding. For eg:
<portType name="XYZ">
<operation name="getTerm">
<input message="getTermRequest"/>
<output message="getTermResponse"/>
</operation>
</portType>
<binding name="XYZBinding" type="XYZ">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
<operation>
<soap:operation
soapAction="http://example.com/getTerm"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
Regards
Suraj
Edited by: S.R.Suraj on Oct 12, 2009 5:32 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suraj,
Sorry for late Response.
Please find the below
- <wsdl:portType name="Z_QMNC_SAVE_CORRECTIONS.PortType">
- <wsdl:operation name="Z_QMNC_SAVE_CORRECTIONS">
<wsdl:input message="rfc:Z_QMNC_SAVE_CORRECTIONS.Input" xmlns:rfc="urn:sap-com:document:sap:rfc:functions" />
<wsdl:output message="rfc:Z_QMNC_SAVE_CORRECTIONS.Output" xmlns:rfc="urn:sap-com:document:sap:rfc:functions" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="Z_QMNC_SAVE_CORRECTIONS.PortTypeBinding" type="rfc:Z_QMNC_SAVE_CORRECTIONS.PortType" xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
- <wsdl:operation name="Z_QMNC_SAVE_CORRECTIONS">
<soap:operation soapAction="http://sap.com/xi/WebService/soap1.1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
- <wsdl:input>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
Hi Nidhi,
The problem is name in portype
<wsdl:portType name="Z_QMNC_SAVE_CORRECTIONS.PortType">
and type in binding should be same
<wsdl:binding name="Z_QMNC_SAVE_CORRECTIONS.PortTypeBinding" type="rfc:Z_QMNC_SAVE_CORRECTIONS.PortType" xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
Here they mismatch. Can you try to check the configuration. Are you using RFC in receiver? Do you have a message Interface for it? or you are using RFC as an interface?
Regards
Suraj
Hi
I didn't get the scenario now
you have made RFC->XI->RFC and is using Portal to test this interface ? And in portal you got this error!!!!!
But why portal? Also when you are using SOAPGUI it is successful, this shows that SOAPUI was able to get teh binding address by loclizing the rfc namesapce, but portal cannot...
So I will suggest that your interface is working fine, but instead of testing from portal either test from SOAPUI or directly from R3
Regards
Suraj
Hi Suraj,
Thanks for your reply..
But My requirement is that user enters some text data in Portal and on submit of this form EP Calls a webservice published through PI which update this to R/3.
So now I have generated the WSDL and its able to send the test data to RFC successfully but when we try to bind it in EP it gives error.
Please help.
Br
Nidhi
Hi,
Correct....
So you want your source Structure to be sameas RFC Structure. In that case:
1. Export RFC as a wsdl file
2. Remove the targetNamespace="urn:sap-com:document:sap:rfc:functions" from the wsdl file
3. Import it as a extenralDefinition
4. Create a Outbound Service Interface with this external definition
5. complete your other IR part
Create wsdl and test
Regards
Suraj
please help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.