• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

wsdl error

 
Ranch Hand
Posts: 2108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
im getting this error...any ideas?
---------------------------------


the error is pointed at the line :


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

 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
Jesus Angeles
Ranch Hand
Posts: 2108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
It's a tiny ad only because the water is so cold.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic