Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Server Authentication Required: Error in getting XML input stream: myService?wsdl

Peter551059Nov 13 2017 — edited Feb 26 2020

Hi. I am using SOA Suite 12.2.1.3 and I try to call WS with basic authorization from BPEL over SSL.

I have read many blogs and articles how to call WS from BPEL in SOA.

I have tried all possibilities and I am stucked now.

I have set certificate in java keystore and weblogic keystore and I have created credentials map with key basic.credentials for DefaultDomain.

I have set policy wss_http_token_client_policy on composite.xml reference to WS. (I have tried wss_http_token_over_ssl_client_policy, wss_username_token_client_policy, wss_username_token_over_ssl_client_policy too)

I have put all properties into composite.xml

javax.xml.ws.security.auth.username

javax.xml.ws.security.auth.password

(I tried oracle.webservices.auth.password too)

I tried set properties on partner link too

  • oracle.webservices.auth.password
  • oracle.webservices.auth.username

I tried http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd header.

I am still getting

<bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension">

<part name="summary">

<summary>oracle.fabric.common.FabricException: oracle.fabric.common.FabricException: Error in getting XML input stream: myService?wsdl: Server Authentication Required: Error in getting XML input stream: myService?wsdl: Server Authentication Required</summary>

</part>

<part name="detail"><detail>Server Authentication Required</detail></part>

</remoteFault></bpelFault>

I have added log_policy and I watched log file. There I have found message but without authorization header.

May I do something wrong when I have defined reference.

Please help me where I am wrong.

Thank you in advance.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 25 2017
Added on Nov 13 2017
4 comments
3,248 views