Bug 987197 - Wise SOAPClient doesn't work with BASIC auth in SOA-P 5
Summary: Wise SOAPClient doesn't work with BASIC auth in SOA-P 5
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBossESB
Version: 5.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: GA
: FUTURE
Assignee: kconner
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 986007
TreeView+ depends on / blocked
 
Reported: 2013-07-22 23:34 UTC by William Antônio
Modified: 2018-12-01 15:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Issue Tracker JBESB-2265 Major Closed Wise action don't work with BASIC auth 2014-03-05 16:20:14 UTC

Description William Antônio 2013-07-22 23:34:15 UTC
Description of problem:

When trying to use Wise SOAPClient with BASIC authentication like below:

   <action class="org.jboss.soa.esb.actions.soap.wise.SOAPClient" name="FileNetWise">
        <property name="wsdl"
            value="http://localhost:8080/enterpriseFileNetService/FileNetService?wsdl" />
        <property name="operationName" value="getFile" />
        <property name="EndPointName" value="FileNetServiceImplPort" />
        <property name="username" value="wsuser" />
        <property name="password" value="w5p@ss" />
        <property name="LoggingMessages" value="true" />
    </action>

and making sure that the credential match, it never works and server always respond with a 401 error code:

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
   <env:Header/>
   <env:Body>
      <env:Fault>
         <faultcode>env:Server</faultcode>
         <faultstring><![CDATA[Remote server's response is an error: <html><head><title>JBoss Web/2.1.11.GA - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This request requires HTTP authentication ().</u></p><HR size="1" noshade="noshade"><h3>JBoss Web/2.1.11.GA</h3></body></html>b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This request requires HTTP authentication ().</u></p><HR size="1" noshade="noshade"><h3>JBoss Web/2.1.11.GA</h3></body></html>b> Status report</p><p><b>message</b> <u></u></p]]></faultstring>
      </env:Fault>
   </env:Body>
</env:Envelope>

Comment 1 JBoss JIRA Server 2013-07-25 20:29:33 UTC
Tom Cunningham <tcunning@redhat.com> updated the status of jira JBESB-2265 to Resolved

Comment 2 JBoss JIRA Server 2013-07-25 20:29:33 UTC
Tom Cunningham <tcunning@redhat.com> made a comment on jira JBESB-2265

The issue here looks like it is with the Wise SOAPClient, rather than the Wise framework.     After adding username/password to the WSEndpoint, I was able to successfully consume a web service protected by BASIC auth.

Comment 3 JBoss JIRA Server 2013-07-25 20:29:47 UTC
Tom Cunningham <tcunning@redhat.com> updated the status of jira JBESB-2265 to Closed


Note You need to log in before you can comment on or make changes to this bug.