cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Shakirin <ashaki...@talend.com>
Subject RE: SAP Webservice: None of the policy alternatives can be satisfied
Date Wed, 21 Sep 2016 11:49:07 GMT
Hi,

As far as I see you specifies empty <EtData> element in SOAP Request, but do not send
it with CXF request.
That can be the reason of error on the server side.
Other possible reason can be different SoapAction.

Could you initialize the GetPersonalinfo with EtData and retry? 
If it doesn't help, compare SoapAction in SoapUI and CXF request.

Regards,
Andrei.

> -----Original Message-----
> From: MRneedHelp [mailto:matthias.rudingsdorfer@freenet.de]
> Sent: Mittwoch, 21. September 2016 13:41
> To: users@cxf.apache.org
> Subject: Re: SAP Webservice: None of the policy alternatives can be satisfied
> 
> When I use logging, I get this message:
> 
> INFORMATION: Outbound Message
> ---------------------------
> ID: 1
> Address: wsdl-addres from SOAP UI
> Encoding: UTF-8
> Http-Method: POST
> Content-Type: text/xml
> Headers: {Accept=[*/*],
> SOAPAction=["urn:sap-com:document:sap:soap:functions:mc-
> style:PERSONALINFO:GetPersonalinfoRequest"]}
> Payload: <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:G
> etPersonalinfo
> xmlns:ns2="urn:sap-com:document:sap:soap:functions:mc-
> style"/></soap:Body></soap:Envelope>
> --------------------------------------
> Sep 21, 2016 1:26:30 PM
> org.apache.cxf.services.GETPERSONALINFOService.GET_PERSONALINFOPort.GE
> T_PERSONALINFO
> INFORMATION: Inbound Message
> ----------------------------
> ID: 1
> Response-Code: 500
> Encoding: UTF-8
> Content-Type: text/xml; charset=utf-8
> Headers: {Accept=[text/xml], connection=[close], Content-Length=[457],
> content-type=[text/xml; charset=utf-8], sap-
> srt_id=[20160921/132630/v1.00_final_6.40/0050569750C01EE69FFDC7C0F06D
> CB4E],
> set-cookie=[sap-usercontext=sap-client=100; path=/]}
> Payload: <soap-env:Envelope
> xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-
> env:Header/><soap-env:Body><soap-env:Fault><faultcode>soap-
> env:Server</faultcode><faultstring
> xml:lang="en">Fehler bei der Web-Service-Verarbeitung; Weitere Details im
> Web-Service-Fehlerprotokoll auf Provider-Seite </faultstring><detail/></soap-
> env:Fault></soap-env:Body></soap-env:Envelope>
> 
> 
> Payload: <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:G
> etPersonalinfo
> xmlns:ns2="urn:sap-com:document:sap:soap:functions:mc-
> style"/></soap:Body></soap:Envelope>
> If that is the request, which is sent, i know, why it doesnt work. This request
> doesnt even work in SOAP UI. It must look like the request I sent above.
> 
> When I sent this request with SOAP UI, I get exactly the same message as I get
> it here:
> 
> Payload: <soap-env:Envelope
> xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-
> env:Header/><soap-env:Body><soap-env:Fault><faultcode>soap-
> env:Server</faultcode><faultstring
> xml:lang="en">Fehler bei der Web-Service-Verarbeitung; Weitere Details im
> Web-Service-Fehlerprotokoll auf Provider-Seite </faultstring><detail/></soap-
> env:Fault></soap-env:Body></soap-env:Envelope>
> 
> 
> 
> --
> View this message in context: http://cxf.547215.n5.nabble.com/SAP-
> Webservice-None-of-the-policy-alternatives-can-be-satisfied-
> tp5772704p5772929.html
> Sent from the cxf-user mailing list archive at Nabble.com.

Mime
View raw message