NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
mircog
Joined: 12 Nov 2009 Posts: 2
|
Posted: Thu Nov 12, 2009 9:14 pm Post subject: Problems with JAX-RPC and HTTPS |
|
|
Hi!
I've got a problems with JAX-RPC to consume services of an HTTPS URL. When I tried to consume a service, I obtain a RemoteException. The description of this exception is: unexpected type: request={http://www.w3.org/2001/XMLSchema}string ; actual={http://www.w3.org/2001/XMLSchema}anyURI.
I didn't find answer to my question on Web. Do you know why I obtained this type of error?any help or simple observations are very useful for me.
Thanks |
|
| Back to top |
|
 |
mircog
Joined: 12 Nov 2009 Posts: 2
|
Posted: Fri Nov 13, 2009 11:27 am Post subject: |
|
|
Exact exception is
java.rmi.RemoteException: Runtime exception; nested exception is:
unexpected element type: expected={http://www.w3.org/2001/XMLSchema}string, actual={http://www.w3.org/2001/XMLSchema}anyURI
at com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:331)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:313)
at testjaxrpconline.AnagrafeFLCPort_Stub.startSession(AnagrafeFLCPort_Stub.java:174)
at testjaxrpconline.Main.main(Main.java:80)
Caused by: unexpected element type: expected={http://www.w3.org/2001/XMLSchema}string, actual={http://www.w3.org/2001/XMLSchema}anyURI
at com.sun.xml.rpc.encoding.SerializerBase.verifyType(SerializerBase.java:128)
at com.sun.xml.rpc.encoding.SimpleTypeSerializer.deserialize(SimpleTypeSerializer.java:118)
at com.sun.xml.rpc.encoding.SOAPFaultInfoSerializer.doDeserialize(SOAPFaultInfoSerializer.java:123)
at com.sun.xml.rpc.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:192)
at com.sun.xml.rpc.client.StreamingSender._readBodyFaultElement(StreamingSender.java:460)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:221)
... 2 more
What's the problem?Please I need help |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|