NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Problems with JAX-RPC and HTTPS

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
mircog



Joined: 12 Nov 2009
Posts: 2

PostPosted: Thu Nov 12, 2009 9:14 pm    Post subject: Problems with JAX-RPC and HTTPS Reply with quote

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

PostPosted: Fri Nov 13, 2009 11:27 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo