cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service Error : Cannot find operation wsdl

Former Member
0 Kudos

Hello everybody,

our Web Service receives data from a Web Site and brings it into SAP BW's delta-queue. Everything works fine in the Web Services Navigator.

Now we built up our own <form> similar to that one in the Web Services Navigator.

The form is included in a web template. However after sending the data from the form to the Web Service we get the following error:

Cannot find operation: wsdl =

http://example20.xabc.test.com:8000/sap/bc/srt/rfc/sap/ZAP_SERVICE_IMNR_2?sap-client=100&wsdl=1.1, endpoint = ZAP_SERVICE_IMNR_2SoapBinding,

operation = public abstract

test.types.BI0_QI6AAP_IM_NR_FLEX___1_RFCResponse

test.ZAP_SERVICE_IMNR_2.BI0_QI6AAP_IM_NR_FLEX___1_RFC

(test.types.BI0_QI6AAP_IM_NR_FLEX___1_RFC) throws

java.rmi.RemoteException,test.BI0_QI6AAP_IM_NR_FLEX___1_RFCRfcException

Eventually it is an authorization-problem: It works, If I log into the Web Services Navigator, then open the built-up form in a new window and send data to delta queue.

Does anyone have an idea?

P.S.

The problem seems not to be caused by the domain-length.

Thank you

Daniel

- Points will be awarded! -

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Daniel,

Did you made sure that the form that you created, creates exactly the same SOAP Request, like the one from the WS Navigator?

Regards, Vladimir

Former Member
0 Kudos

Hello Vladimir,

thank you for your suggestion.

I have found another solution:

- /nsicf

- go to the relevant service

- change service

- define a fix user and password

-> no additional authentication is required

Regards,

Daniel

athavanraja
Active Contributor
0 Kudos

if you want avoid hard coding the authentication, you can pass the same via the wsdl url.

wsdl url...?sap-client=<client no>&sap-user=<userid>&sap-password=<pwd>

Regards

Raja

Former Member
0 Kudos

Thank you Raja,

does it have to be a constant value or can I read sap-user and sap-password from a variable?

Regards,

Daniel

athavanraja
Active Contributor
0 Kudos

it can be a variable

Raja

Answers (0)