| Author |
wsdl error
|
Jesus Angeles
Ranch Hand
Joined: Feb 26, 2005
Posts: 2036
|
|
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: 2906
|
|
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.
|
"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
|
 |
Jesus Angeles
Ranch Hand
Joined: Feb 26, 2005
Posts: 2036
|
|
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: 2906
|
|
You can always "find & replace" the colons with the HTML entity : That will at least get rid of the emoticons < with < > with > 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: 2036
|
|
|
|
 |
Jesus Angeles
Ranch Hand
Joined: Feb 26, 2005
Posts: 2036
|
|
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.
|
 |
 |
|
|
subject: wsdl error
|
|
|