File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Webservice client  problem  axis2 wsdl1.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Webservice client  problem  axis2 wsdl1.1" Watch "Webservice client  problem  axis2 wsdl1.1" New topic

Webservice client problem axis2 wsdl1.1

Kumar Ala
Ranch Hand

Joined: Apr 30, 2009
Posts: 53
I have created webservice client based on this link I do realize that i am using WSDL1.1 specification.

From my WSDL i have the following serivce part

service name="BAPI_CUSTOMER_DISPLAYService" documentation SAP Service BAPI_CUSTOMER_DISPLAY via SOAP documentation port name="BAPI_CUSTOMER_DISPLAYPortType" binding="s0:BAPI_CUSTOMER_DISPLAYBinding" soap:address location="http://**:8000/sap/bc/soap/rfc" port service

Following is my client BAPI_CUSTOMER_DISPLAYService locator = new BAPI_CUSTOMER_DISPLAYServiceLocator(); URL urlLocation; urlLocation = new URL("http://**:8000/sap/bc/soap/rfc");


BAPI_CUSTOMER_DISPLAYBindingStub sapStub = new BAPI_CUSTOMER_DISPLAYBindingStub(urlLocation,locator);



I am getting the following error AxisFault faultCode: {}HTTP faultSubcode: faultString: (403)Forbidden faultActor: faultNode: faultDetail: {}:return code: 403 This service requires client certificate for authentication procedure. {}HttpErrorCode:403

(403)Forbidden at org.apache.axis.transport.http.HTTPSender.readFromSocket( at org.apache.axis.transport.http.HTTPSender.invoke( at org.apache.axis.strategies.InvocationStrategy.visit( at org.apache.axis.SimpleChain.doVisiting( at org.apache.axis.SimpleChain.invoke( at org.apache.axis.client.AxisClient.invoke( at org.apache.axis.client.Call.invokeEngine( at org.apache.axis.client.Call.invoke( at org.apache.axis.client.Call.invoke( at org.apache.axis.client.Call.invoke( at org.apache.axis.client.Call.invoke( at at

Any help is appreciated. My intention is to consume services with any java technologies. This is Urgent.

I agree. Here's the link:
subject: Webservice client problem axis2 wsdl1.1
It's not a secret anymore!