Sorry!
Didn't get it all. I think this thread would give you answers about how to do
handle attachments in the way you want.
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=124280
/Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129309#412930
Hi!
Attachments are a tricky part. The simplest way to do is to add your attachment
as a base64binary in your schema, but that is not what you always want to do.
I've been asking a lot about how to use MTOM on a SOAPMessage, but I didn't get
any response at all.
To answer your question about h
Hello Oskar,
Thanks for the suggestion. I tried that. After doing it that way, I had the
problem of needing to use JAXB to put my parameters into the SOAPBody. That
worked, but then I got unsolvable class conflicts where I got to this:
[java] Exception in thread "main"
com.sun.xml.ws.s
Hi!
You can always set the url in the service object when adding the port, like the
following:
| Service service = Service.create(new QName("...", "..."));
| service.addPort(new QName("...", "..."), SOAPBinding.SOAP11HTTP_BINDING,
"http://service.location/at/some/context";);
| dispatch =
No one has any ideas on this?
Right now it looks like my options are either a) the client must fetch the WSDL
every single time it makes a request, or b) the server's URL must be hard-coded
in the WSDL file that is bundled with the client.
Neither of these are good. There's no reason at all fo