Hi Ian, How do you validate the soap addressing when it is come back on the same stream. In other words, If I get the send replies back on the same connection on which the request was received. How would can I check that the reply that came back have Was:to and was:Action find in properly or not. Currently, I am doing the following in my Stub.
My user case. I have three different web service. (1) One is EJB WS that does the mapping of the messages [primary one that is called by the other systems] - Secured , (2) Axis EJB WS that does the handshake between secured and endpoint web service, (3) which is a test harness for the endpoint. 1 connects to 2 using rmi 2 connects to 3 using http connection Axis Addressing is done at the 2 - 3 connection. I also I have a question if I should do this at 2 connecting to 3 or 1 connecting to 3 using ebj client? AddressingHeaders reqHeaders = setUpAddressing(); _call.setProperty(Constants.ENV_ADDRESSING_REQUEST_HEADERS, reqHeaders); Thanks, Please help Parikh, Pratik -----Original Message----- From: Ian Springer [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2005 5:17 PM To: Parikh,Pratik Cc: [email protected] Subject: Re: Ejb Endpoint referencing - EndpointReference Hi Pratik, Only the wsa:To and wsa:Action headers are required. All the other addressing headers, including wsa:From and wsa:ReplyTo, are optional. For synchronous requests, you generally don't need to include From or ReplyTo. The default is to send replies back on the same connection on which the request was received. Ian Parikh,Pratik wrote: > > Hi , > > I have a question I am using ejb to call my other web service > which is hosted on url. The other webservice requires to pass all the > addressing information and I am stuck at the initializing > EndpointReference for From and and ReplyTo. Can anyone point me in the > right direction?? > > Thanks, > Parikh, Pratik > > CONFIDENTIALITY NOTICE > > This message and any included attachments are from Cerner Corporation > and are intended only for the addressee. The information contained in > this message is confidential and may constitute inside or non-public > information under international, federal, or state securities laws. > Unauthorized forwarding, printing, copying, distribution, or use of > such information is strictly prohibited and may be unlawful. If you > are not the addressee, please promptly delete this message and notify > the sender of the delivery error by e-mail or you may call Cerner's > corporate offices in Kansas City, Missouri, U.S.A at (+1) > (816)221-1024. > ---------------------------------------- -- > >--------------------------------------------------------------------- >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] CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. ---------------------------------------- -- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
