You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by fx...@ws.apache.org on 2004/07/28 06:10:39 UTC

[jira] Closed: (WSFX-25) typed EPR deserialization issues

Message:

   The following issue has been closed.

   Resolver: Jarek Gawor
       Date: Tue, 27 Jul 2004 9:10 PM

Fixes committed to cvs. The EndpointReferenceType.java interface was changed for Address and PortType fields.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/WSFX-25

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WSFX-25
    Summary: typed EPR deserialization issues
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: WSFX
 Components: 
             Addressing

   Assignee: Jarek Gawor
   Reporter: Jarek Gawor

    Created: Tue, 27 Jul 2004 8:49 PM
    Updated: Tue, 27 Jul 2004 9:10 PM

Description:
When Address is typed as AttributedURI (or PortType as AttributedQName), for example (as part of soap body):

   <wsa:Address xsi:type="wsa:AttributedURI">http://192.168.1.3:8080/axis/services/CounterService</wsa:Address>

The deserialization fails with:

[main] ERROR ser.BeanPropertyTarget [set:123] Could not convert
org.apache.axis.types.URI to bean field 'address', type
org.apache.axis.message.addressing.Address
[main] ERROR client.Call [invoke:2407] Exception:
java.lang.IllegalArgumentException: argument type mismatch
        at
org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:142)
        at
org.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerImpl.java:248)
        at
org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:512)
        at
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1060)
        at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
        at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1056)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:196)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:310)
        at org.apache.axis.client.Call.invoke(Call.java:2405)
        at org.apache.axis.client.Call.invoke(Call.java:2304)






---------------------------------------------------------------------
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