Re: Help needed in SOAP with Attachments

2004-05-26 Thread Scott Nichol
The trick: look at the headers in mail messages from this list. You will see among them list-help: list-unsubscribe: list-post: To unsubscribe, send an e-mail to [EMAIL PROTECTED] Scott Nichol Do not send e-mail

Re: SOAP method to get server/ip of incoming message source

2004-05-26 Thread Daniel Zhang
Thanks Martin! Without discussion like this, it'll take me hours and days of time to find out those tricks. Best, Daniel Martin Gainty wrote: Daniel- the suggestion gets the request from SOAPContext via HttpServletRequest hsr = req.getProperty(Constants.BAG_HTTPSERVLETREQUEST); you can then get A

RE: Help needed in SOAP with Attachments

2004-05-26 Thread Secka-Jallow, Dibor
How do I get out of this mailing list? Thanks Dibor Secka-Jallow Web Developer Atlanta Housing Authority [EMAIL PROTECTED] 404-817-7370 -Original Message- From: Scott Nichol [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 26, 2004 9:57 AM To: [EMAIL PROTECTED] Subject: Re: Help needed in

Re: SOAP method to get server/ip of incoming message source

2004-05-26 Thread Martin Gainty
Daniel- the suggestion gets the request from SOAPContext via HttpServletRequest hsr = req.getProperty(Constants.BAG_HTTPSERVLETREQUEST); you can then get ALL of the HTTP Variable parameters that the Request has access to via hsr.getQueryString() OR hsr.getHost() to see all the HTTP Variables you

Re: Help needed in SOAP with Attachments

2004-05-26 Thread Scott Nichol
Read the HTTP Binding portion of the spec (http://www.w3.org/TR/SOAP-attachments#HTTPBinding). There you will see that, basically, the headers which are not contained within the MIME boundary are not included in the message body, but rather are sent as HTTP headers. If you view the SOAP reque

Re: SOAP method to get server/ip of incoming message source

2004-05-26 Thread Daniel Zhang
Thank you Scott! That's what I want. We are using messaging API. Actually I am looking at the SOAPContext class, but I didn't find method to getRemoteAddr/getRemoteHost directly and I don't the trick to use getProperty(Constants.BAG_HTTPSERVLETREQUEST). Daniel Scott Nichol wrote: You will need

Re: Help needed in SOAP with Attachments

2004-05-26 Thread Dhanush Gopinath
I just compared the my SOAP Message generated to the one which is specified by W3C. It didnt contain   MIME-Version: 1.0Content-Type: Multipart/Related; boundary=MIME_boundary; type=text/xml;    start=""Content-Description: This is the optional me

Re: Help needed in SOAP with Attachments

2004-05-26 Thread Scott Nichol
What do you mean by "MIME Header"? How are you determining that your message "doesn't contain a MIME Header"? Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. - Original Message - From: "Dhanush Gopina

Re: SOAP method to get server/ip of incoming message source

2004-05-26 Thread Scott Nichol
You will need to access the SOAPContext for the request. This allows you to access the HttpServletRequest, on which the getRemoteAddr or getRemoteHost method will give you what you need. Does your service use the RPC or messaging API? For the messaging API, you get the SOAPContext for the req

[Fwd: Delivery Status Notification (Failure)]

2004-05-26 Thread Daniel Zhang
Mailing list manager: Whenever I reply to soap-user list, I got the following message. Could you delete "nimish.chourey+AEA-rave-tech.com" from this mailing list? It is an unreachable address. Daniel Original Message Subject:Delivery Status Notification (Failure) Date:

Re: SOAP method to get server/ip of incoming message source

2004-05-26 Thread Daniel Zhang
Martin: The method you are talking about is the client side. And we have no control of our partners(clients) side. We only know our clients sending us SOAP message and we(server side) need to tell the URLs/IPs of our clients. Daniel mail.laconiadatasystems.com wrote: Daniel- From the URL you c

Help needed in SOAP with Attachments

2004-05-26 Thread Dhanush Gopinath
  Hi All,   I have created a SOAP Message with attachment and it doesn't contain a MIME Header. I meansit doesnt follow the format of  SOAP Message given below. My request message also differ from the one which Scott send to this group a few days before.   My problem is the first header(MIMe