Hi,
I changed a little bit the wiki wsattachent example, successfully
deployed on jboss-4.0.3, j2se-1.5.0_04 and tested with jboss-client
libraries, everything ok.
But when I generate the client-side code from the endpoint address with
Java Web Service Developer Pack 1.6 and run the test with libraries
from the sun I get this error:
Exception in thread "main" java.rmi.RemoteException: Runtime exception; nested
exception is:
no attachment with id "cid:09BED78D3F0C4440D841841256E90AF0" found in
message
at
com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:318)
at
com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:300)
at
org.jboss.ws.example.attachment.SOAPAttachment_Stub.download(SOAPAttachment_Stub.java:69)
at
org.jboss.ws.example.attachment.SOAPAttachmentClientStub.main(SOAPAttachmentClientStub.java:29)
Caused by: no attachment with id "cid:09BED78D3F0C4440D841841256E90AF0" found
in message
at
com.sun.xml.rpc.encoding.AttachmentSerializer.deserialize(AttachmentSerializer.java:198)
at
com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:137)
at
org.jboss.ws.example.attachment.SOAPAttachment_download_ResponseStruct_SOAPSerializer.doDeserialize(SOAPAttachment_download_ResponseStruct_SOAPSerializer.java:43)
at
com.sun.xml.rpc.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:192)
at
com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:155)
at
org.jboss.ws.example.attachment.SOAPAttachment_Stub._deserialize_download(SOAPAttachment_Stub.java:118)
at
org.jboss.ws.example.attachment.SOAPAttachment_Stub._readFirstBodyElement(SOAPAttachment_Stub.java:104)
at
com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:215)
... 2 more
Is there any compatibility problem?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902870#3902870
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902870
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user