You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ax...@ws.apache.org on 2004/09/03 12:03:51 UTC

[jira] Created: (AXIS-1544) Fully qualified faults being generated

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1544

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1544
    Summary: Fully qualified faults being generated
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Axis

   Assignee: 
   Reporter: Simon John Morgan

    Created: Fri, 3 Sep 2004 3:03 AM
    Updated: Fri, 3 Sep 2004 3:03 AM
Environment: Win Xp, JBoss 3.2.3

Description:
I think this is a fault, but I'm not certain ...

The generated soap message for a fault appears to be a fully qualified java package, I'm assuming the c.r_l.a.w.s section of the element name shouldn't be there:

<soapenv:Envelope
 xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <soapenv:Fault>
   <faultcode>soapenv:Server.userException</faultcode>
   <faultstring>
   com.r_l.authorisation.web.service.AuthorisationDeclinedException
   </faultstring>
   <detail>
   <com.r_l.authorisation.web.service.AuthorisationDeclinedException 
    xsi:type="ns1:AuthorisationDeclinedException"  
    xmlns:ns1="http://service.web.authorisation.retail_logic.com">
    
 <auditNumber xsi:type="xsd:string">68DB3F4D</auditNumber>
     <errors xsi:type="ns1:ErrorWs">
      <code xsi:type="xsd:string">ABCD-5</code>
      <description xsi:type="xsd:string">blah blah</description>
     </errors>
    </com.r_l.authorisation.web.service.AuthorisationDeclinedException>
   </detail>
  </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>

I will post more info / replication stuff next week.

Any feedback in the meantime most welcome.

Cheers

Simon


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1544) Fully qualified faults being generated

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: Simon John Morgan
    Created: Tue, 7 Sep 2004 6:52 AM
       Body:
I think this is because the typeMapping element was not in the service element

http://www.osmoticweb.com/axis-wsdd/typeMapping.htm

I've still got issues - not the Jerry Springer kind - so I'm not certain of this, but I think this can be closed as me not knowing stuff.


---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1544?page=comments#action_52920

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1544

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1544
    Summary: Fully qualified faults being generated
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Axis

   Assignee: 
   Reporter: Simon John Morgan

    Created: Fri, 3 Sep 2004 3:03 AM
    Updated: Tue, 7 Sep 2004 6:52 AM
Environment: Win Xp, JBoss 3.2.3

Description:
I think this is a fault, but I'm not certain ...

The generated soap message for a fault appears to be a fully qualified java package, I'm assuming the c.r_l.a.w.s section of the element name shouldn't be there:

<soapenv:Envelope
 xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <soapenv:Fault>
   <faultcode>soapenv:Server.userException</faultcode>
   <faultstring>
   com.r_l.authorisation.web.service.AuthorisationDeclinedException
   </faultstring>
   <detail>
   <com.r_l.authorisation.web.service.AuthorisationDeclinedException 
    xsi:type="ns1:AuthorisationDeclinedException"  
    xmlns:ns1="http://service.web.authorisation.retail_logic.com">
    
 <auditNumber xsi:type="xsd:string">68DB3F4D</auditNumber>
     <errors xsi:type="ns1:ErrorWs">
      <code xsi:type="xsd:string">ABCD-5</code>
      <description xsi:type="xsd:string">blah blah</description>
     </errors>
    </com.r_l.authorisation.web.service.AuthorisationDeclinedException>
   </detail>
  </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>

I will post more info / replication stuff next week.

Any feedback in the meantime most welcome.

Cheers

Simon


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira