Is there any way to specify properties like
javax.xml.rpc.Stub.USERNAME_PROPERTY or
javax.xml.rpc.Stub.USERNAME_PROPERTY to a
javax.xml.soap.SOAPConnection? 

I could not find any way to do this using the
JAX-RPC/SAAJ APIs. I would like to create a soap
message and add attachments and send it out to a
service endpoint. I am exploring options to do this
just by using the SAAJ APIs, and I see that I can do
all this. But I cannot specify properties such as the
ones listed above that I can use on a stub. 

I can use AXIS Call class do to this, but then I would
have to use non JAX-RPC calls such as
org.apache.axis.client.Call.addAttachmentPart. I want
to avoid this if I can.

Any help would be appreciated.

Thanks,
Shantanu Sen

Reply via email to