• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DII and dynamic web service client

 
bashi khan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am a beginner in Java.
I am using DII to dynamically invoke a web service. At runtime, I get the following error:

the serializer/deserializer for parameter number: 0, named: "{http://www.w3.org/2001/XMLSchema}string", type: "{http://www.w3.org/2001/XMLSchema}string", is ambiguous because its class could not be determined
at com.sun.xml.rpc.client.dii.BasicCall.serializerNotFoundException(BasicCall.java:769)
at com.sun.xml.rpc.client.dii.BasicCall.createLiteralResponseSerializer(BasicCall.java:712)
at com.sun.xml.rpc.client.dii.BasicCall.getResponseDeserializer(BasicCall.java:682)
at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:470)
at testClient.Client.main(Client.java:68)


I have a simple service that accepts a string and returns a string.
Any help would be greatly appreciated...
Thanks
 
William Barnes
Ranch Hand
Posts: 986
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> I am a beginner in Java. I am using DII to dynamically invoke a web service.

A brave soul, starts leaning java using web services.

The error messasge says you are using a type of "string". There is no "string" type, you want "String" instead.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic