X

An Oracle blog about Middlware

BPEL Calling Web Services with HTTP Basic Authentication

Arda Eralp
Principal Consultant

Add this tag into the composite.xml file


<property name="weblogic.wsee.wsat.transaction.flowOption" type="xs:string" many="false">WSDLDriven</property>

<property name="oracle.webservices.auth.username" type="xs:string" many="false" override="may">bpel</property>

<property name="oracle.webservices.auth.password" type="xs:string" many="false" override="may">welcome1</property>

<property name="oracle.webservices.preemptiveBasicAuth" type="xs:boolean" many="false" override="may">true</property>

Another option that worked was to set the javax.xml.ws.security.auth parameters in composite.xml for the reference.


<property name="oracle.webservices.preemptiveBasicAuth" many="false" override="may">true</property>

<property name="javax.xml.ws.security.auth.username" many="false" override="may"> bpel</property>

<property name="javax.xml.ws.security.auth.password" many="false" override="may"> welcome1</property>

<property name="weblogic.wsee.wsat.transaction.version" type="xs:string" many="false">DEFAULT</property>

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.