• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wsdl error

 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im getting this error...any ideas?
---------------------------------


the error is pointed at the line :


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

 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic