cancel
Showing results for 
Search instead for 
Did you mean: 

Anybody ran successfully the Java report in Migration Guide AEX of PI 7.3x?

Former Member
0 Kudos

Hi experts, did anybody successfully run William's java report which he wrote about in chapter 3.1 of his valued guide [Migration Guide to AEX of PI 7.3x for Integration Scenarios|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0c92caf-3e44-2f10-169c-838b94d6fd0a?QuickLink=index&overridelayout=true&53820235201459]?

If yes, can you please do me a favour and describe how?

I'm on PI 7.1 and tried to execute the report in 4 different environments (CMD on PI server and on my PC, 2 different NWDS projects with different libraries) and it keeps throwing exceptions like 404.

Thanks for your valuable inputs, best regards, Martin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

William Li May 3, 2012 6:33 PM (in response to Martin Sommer)

Services are available from 7.11

Answers (1)

Answers (1)

santhosh_kumarv
Active Contributor
0 Kudos

I also had 404 - Unauthorized error, but then was able to run successfully after getting my user assigned the below role.

SAP_XI_API_DEVELOP_J2EE

SAP_XI_API_DISPLAY_J2EE

These roles has to be assigned from Useradmin (http://<host>:<port>/useradmin) and not SU01.

Let me know if you still face issue executing.

~SaNv...

Former Member
0 Kudos

Hi Santhosh, thanks for your reply. My user already had these roles assigned and I can execute the integration API services in /wsnavigator. I still get the following exceptions:

When executing the report from command line on my PC:

Exception in thread "main" com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 404: Not Found

at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.checkStatusCode(Unknown Source)

When executing the report from command line on the PI server:

javax.xml.ws.WebServiceException: Unsupported endpoint address: /

at com.sun.xml.internal.ws.api.pipe.TransportTubeFactory.create(UnknownSource)

When executing the report from NWDS with JAX-WS libraries:

Exception in thread "main" javax.xml.ws.WebServiceException: Invalid Response code (404). Server \[http://<HOST>:<PORT>/ReceiverDeterminationInService/ReceiverDeterminationInImplBean?wsdl&mode=ws_policy\] returned message \[Not Found\]. Http proxy info: none

at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:174)

Looks like the endpoint URL cannot be found. Do I have to configure an endpoint manually?

Java version is 1.6. PI 7.1 SP12.

Can anybody else please post his experiences? Thanks a lot, best regards, Martin