on 03-06-2009 1:04 PM
Hello all
I am working with PI 7.1. We have used ws adapter where the corresponding sender or receiver is ABAP system. Now we're trying to use ws sender adapter from Java.
So ws CC and sender agreement is configured, wsdl is generated. In NWDS CE 7.1 we imported the wsdl, however when we tried to generate web service client from the imported wsdl (from context menu), we got error:
IWAB0399E Error in generating Java from WSDL: WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element 'Policy'.:
WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element 'Policy'.:
at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
Why is that? does it mean ws adapter only works with SAP ABAP system? Anybody used ws adapter with non-abap sender?
Thanks
Jayson
I attended a workdhop conducted by SAP. This was one of my questions. The answer was "WS adapter can be used to integrate any Webservice/client that supports WSRM protocol. So what you need to check is that, if your Java system supporets WSRM protocol or not.
Regards
Jai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
WS adapter is designed to work with the Web Service Runtime of the ABAP stack. If you want to expose a web service from PI, you must use SOAP Sender adapter.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi VJ,
thank you so much for your information. However do you have any official SAP statement saying that? I need to have some kind of proof to show the high-level manager about this.
Do you also mean that the receiver of ws CC must be also ABAP system?
We basically can not use soap adapter, because RM is required in our scenario which is only supported by ws adapter, not soap adapter.
Thanks
Jayson
Exactly, as said by Jai, WSRM is not a platform specific specification. It depends upon your client whether it supports the protocol or not. Java based clients would also be supported. For this you may check the WS-RM specifications available on google and recheck your client implementation.
Regards,
Prateek
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.