It's not off topic at all. I'm using Axis as the SOAP engine to invoke a web service hosted by WebSphere. It's at least an inter-operability question, but it certainly involves Axis. In any case, thanks to some useful information I received from other contributors on this mailing list, I'm progressing further.
> -----Original Message----- > From: Martin Gainty [mailto:[EMAIL PROTECTED] > Sent: 24 August 2006 12:59 > To: [email protected] > Subject: Re: Simple example required for use of WSS4J with Axis > > Your post is O/T since you are subscribed to axis discussion list > I would suggest you buy websphere and get support from them > > ********************************************************************* > This email message and any files transmitted with it contain confidential > information intended only for the person(s) to whom this email message is > addressed. If you have received this email message in error, please > notify > the sender immediately by telephone or email and destroy the original > message without making a copy. Thank you. > > > > ----- Original Message ----- > From: "Andrew Fielden" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Wednesday, August 23, 2006 12:39 PM > Subject: RE: Simple example required for use of WSS4J with Axis > > > I'm not deploying this Web Service to Axis. The Web Service is deployed > to WebSphere (an application server), which then creates a WSDL. I am > using this to invoke the Web Service. Axis is being used as the SOAP > processor, to construct and receive messages from WebSphere. > > This process does not involve using a wsdd > > > > > -----Original Message----- > > From: Martin Gainty [mailto:[EMAIL PROTECTED] > > Sent: 23 August 2006 17:24 > > To: [email protected] > > Subject: Re: Simple example required for use of WSS4J with Axis > > > > If I understand your question correctly- > > If you took the wsdd file away how should the AxisServlet understand > which > > Web Services it should deploy? > > > > M- > > ********************************************************************* > > This email message and any files transmitted with it contain > confidential > > information intended only for the person(s) to whom this email message > is > > addressed. If you have received this email message in error, please > > notify > > the sender immediately by telephone or email and destroy the original > > message without making a copy. Thank you. > > > > > > > > ----- Original Message ----- > > From: "Andrew Fielden" <[EMAIL PROTECTED]> > > To: <[email protected]> > > Sent: Wednesday, August 23, 2006 11:59 AM > > Subject: RE: Simple example required for use of WSS4J with Axis > > > > > > Thanks for the pointer, but sorry to say I'm still not getting it :( > > All the examples given here are based on the existence of a .wsdd > > deployment file, which I don't have. > > > > My target Web Service is identified via a WSDL. There is no client > stub, > > only a service endpoint URL and a port name. The Service object is > > created directly from the WSDL content. > > > > How does WSS4J work in the absence of the .wsdd file? > > > > BTW I can post some example code to clarify my situation. I can't > > believe nobody has tried to do this before. > > > > > > > > > -----Original Message----- > > > From: Ruchith Fernando [mailto:[EMAIL PROTECTED] > > > Sent: 23 August 2006 16:30 > > > To: [email protected] > > > Subject: Re: Simple example required for use of WSS4J with Axis > > > > > > There are a set of inteorp scenarios here [1] which uses saml. > > > > > > Thanks, > > > Ruchith > > > > > > [1] https://svn.apache.org/repos/asf/webservices/wss4j/trunk/interop > > > > > > On 8/23/06, Andrew Fielden <[EMAIL PROTECTED]> wrote: > > > > > > > > Does no one have any example which illustrates the use of WSS4J in > > this > > > > situation? I have a client application which needs to insert a > SAML > > > > token into a SOAP message used to invoke a Web Service. > > > > > > > > I also tried the WSS4J mailing list, but no response there. > > > > > > > > > > > > > -----Original Message----- > > > > > From: Andrew Fielden [mailto:[EMAIL PROTECTED] > > > > > Sent: 22 August 2006 14:41 > > > > > To: [email protected] > > > > > Subject: Simple example required > > > > > > > > > > I've looked at the examples of calling a simple web service on > the > > > > > Apache Axis website. > > > > > I've also looked at the examples of using WSS4J in conjunction > > with > > > > > Axis. I'm confused about how WSS4J can be used in the context of > > the > > > > > basic TestClient example (below). There is no specific example > > > > > corresponding to this. > > > > > > > > > > I'd like to be able to add SAML tokens to a SOAP message, but I > > have a > > > > > couple of basic questions: > > > > > > > > > > 1. The WSS4J examples make use of a callback class to manipulate > > the > > > > > SOAP message. How is this callback class registered, in the > > context of > > > > > the example below. > > > > > > > > > > 2. The examples get a reference to the SOAP envelope object, but > > how > > > > do > > > > > I obtain this, in the context of the example below. > > > > > > > > > > Some lines of code would be ideal, just to clarify the usage of > > WSS4J > > > > in > > > > > this situation. > > > > > > > > > > Thanks. > > > > > > > > > > > > > > > 1 import org.apache.axis.client.Call; > > > > > 2 import org.apache.axis.client.Service; > > > > > 3 import javax.xml.namespace.QName; > > > > > 4 > > > > > 5 public class TestClient { > > > > > 6 public static void main(String [] args) { > > > > > 7 try { > > > > > 8 String endpoint = > > > > > 9 "http://ws.apache.org:5049/axis/services/echo"; > > > > > 10 > > > > > 11 Service service = new Service(); > > > > > 12 Call call = (Call) service.createCall(); > > > > > 13 > > > > > 14 call.setTargetEndpointAddress( new > > java.net.URL(endpoint) ); > > > > > 15 call.setOperationName(new > > QName("http://soapinterop.org/", > > > > > echoString")); > > > > > 16 > > > > > 17 String ret = (String) call.invoke( new Object[] { > > "Hello!" } > > > > > ); > > > > > 18 > > > > > 19 System.out.println("Sent 'Hello!', got '" + ret + > "'"); > > > > > 20 } catch (Exception e) { > > > > > 21 System.err.println(e.toString()); > > > > > 22 } > > > > > 23 } > > > > > 24 } > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > -- > > > www.ruchith.org > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
