File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes wsdl error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "wsdl error" Watch "wsdl error" New topic
Author

wsdl error

Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2061
im getting this error...any ideas?
---------------------------------


the error is pointed at the line :


---------------------------------
my interface is like this:

Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
The whole WSDL would be a bit more informative.

Please don't tell me that you are using Java-to-WSDL
(a SCDJWS is supposed to know better)

I'm guessing that {java.awt.Image apic} being in the middle of the parameter list might be a problem. Try sticking it at the beginning or end.
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2061
Im still looking at it.

I am unable to post the wsdl. An error comes up, it says it has exceeded maximum images, in posting here in javaranch; most likely, those colons causes it.

I am using wsad. I had to set wsad to 'ignore WS-I compliance', and got away with this.

But I am still fixing it as my client is unable to call the server.

Will post further if anything develops.
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
You can always "find & replace" the colons with the HTML entity
:
That will at least get rid of the emoticons
< with
&lt;
> with
&gt;

Looking at the Java interface I would guess that you should consider authoring a WSDL that uses the "SOAP with Attachments" style - i.e. the images should be transmitted in a MIME envelope, not the SOAP envelope.

Inch yourself towards the solution by defining an interface that returns an image and one that takes an image as a parameter and then finally combine both.
[ May 07, 2006: Message edited by: Peer Reynders ]
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2061
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2061
I am trying to play with swa. I want to implement a client that sends an attachment jpg, and a web service which receives it, and replies with another attachment jpg.

I did java2wsdl only at the beginning, to generate a simple, non-swa wsdl. I then added mime stuff to the wsdl, and used wsdl2java.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: wsdl error