on 04-15-2010 8:18 PM
Hi experts,
I have exposed a web service from a generated "Sender Agreement".
I also imported the WSDL to the Developer Studio and generated a Web Service Client from it.
When i am tying to run a simple program which calls the web service,
I am getting authentication error.
How should i provide the user authentication?
Regards Max.
Maxim,
I believe the below Wiki will be of more help
http://wiki.sdn.sap.com/wiki/display/ESpackages/ConsumingaExternalServicefromESWorkplaceinCompositeApplicationFrameworkUsingCE+7.1.1
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe the below Wiki will be of more help
http://wiki.sdn.sap.com/wiki/display/ESpackages/ConsumingaExternalServicefromESWorkplaceinCompositeApplicationFrameworkUsingCE+7.1.1
raj.
Hi raj.
I followed the wiki and in the step of finishing the import of the WSDL,
I am getting an error, saying: "server returned error code 500", I checked and figured
that error 500 means "Internal server error".
Do you have any ideas what could be the reason?
Hi Max,
I think you are misguided here.
User authentication has nothing to do with HTTP 500 unless someone implemented the servlet container wrong.
If you were getting HTTP 500, your call passed the authentication phase and reached something inside.
You should look into what else the HTTP response message says in its content.
If your call reached the heart of the adapter engine, you should be able to find your message in the adapter engine's message monitor.
If not, the only place you can look is the response message or in the default trace.
Best regards, Yza
If you don't already have a Service account , create a communication ID on your PI system that can be used by any application,
Use this for your invocations,
It's always a good idea to test the webservice on a 3rd party testing tool like:
Altova XML spy http://www.altova.com/
SOAPUI, this is free http://www.soapui.org/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Provide the user id / password for the PI server.
Regards,
Neetesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.