aspose file tools*
The moose likes Web Services and the fly likes DII and dynamic web service client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "DII and dynamic web service client" Watch "DII and dynamic web service client" New topic
Author

DII and dynamic web service client

bashi khan
Greenhorn

Joined: Jul 08, 2005
Posts: 1
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

Joined: Mar 16, 2001
Posts: 986

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


Please ignore post, I have no idea what I am talking about.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: DII and dynamic web service client