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: CLOSED UPSTREAM
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: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 986007
TreeView+ depends on / blocked
 
Reported: 2013-07-22 23:34 UTC by William Antônio
Modified: 2025-02-10 03:28 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:28:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBESB-2265 0 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> updated the status of jira JBESB-2265 to Resolved

Comment 2 JBoss JIRA Server 2013-07-25 20:29:33 UTC
Tom Cunningham <tcunning> 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> updated the status of jira JBESB-2265 to Closed

Comment 6 Red Hat Bugzilla 2025-02-10 03:28:10 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


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