Thanks for the info. I see that this value is created in MimeUtils.getUniqueValue. I will look into changing it.
On 21 Jan 2003 at 9:59, Jesus M. Salvo Jr. wrote: > Scott Nichol wrote: > > >I don't know the particulars of the RFCs you cite. > > > The RFCs says: > > RFC 2387: > > related-param := [ ";" "start" "=" cid ] > [ ";" "start-info" "=" > ( cid-list / value ) ] > [ ";" "type" "=" type "/" subtype ] > ; order independent > > cid := msg-id ; c.f. [822] > > > RFC 822 says: > > msg-id = "<" addr-spec ">" ; Unique message id > addr-spec = local-part "@" domain ; global address > > local-part = word *("." word) ; uninterpreted > ; case-preserved > > domain = sub-domain *("." sub-domain) > > sub-domain = domain-ref / domain-literal > > > > >The serialization > >of payloads containing attachments is done by code from JavaMail. > > > > I know ... except that ... the start parameter is actually set by Apache > SOAP. > > From the example again that I gave earlier: > > POST /soap/servlet/messagerouter HTTP/1.0 > Host: 192.168.0.82:8080 > Content-Type: multipart/related; > boundary="----=_Part_1_64111.1042701017867"; type="text/xml"; >start="4035210.1042701018008.apache-soap.johnp4" > Content-Length: 1754 > SOAPAction: "" > > > .... you can see that the start parameter has the string "apache-soap" within its >value, and the value itself seems to be taken via a call from >MimeUtils.getUniqueValue() ... based on the javadoc for that method and based on my >usage of that method as well. > > What I am essentially saying is that the code in Apache-SOAP _can_ make the value of >the start parameter conform the syntax mentioned above. I am just wondering what the >effects are of not following the syntax to a non-Apache-SOAP service that receives >mutlipart messages from an Apache-SOAP client. > > > > >Perhaps someone has questioned Sun on this point before...you might > >want to check their site. > > > >On 20 Jan 2003 at 12:41, Jesus M. Salvo Jr. wrote: > > > > > > > >>RFC 2387 ( Section 3.4 ) says that the start parameter of a > >>multipart/related is msg-id based on RFC 822 > >> > >>RFC 822 on the other hand says that msg-id's syntax is based on addr-spec: > >> > >>Section 4.1: > >>msg-id = "<" addr-spec ">" ; Unique message id > >> > >>Section 6: > >>addr-spec = local-part "@" domain ; global address > >> > >>My question therefore is: > >>Apache-SOAP, when specifying the start parameter of the > >>multipart-related, does not not strictly follow the syntax for addr-spec > >>( e.g.: No "@" domain ). > >>Is this important / relevant? If not ... why did RFC 822 says that > >>addr-spec ( and therefore msg-id and start parameter for > >>multipart/related ) should have local-part@domain? > >> > >>The example below shows that the start parameter has the value > >>4035210.1042701018008.apache-soap.johnp4. > >>Here is the sample taken from a sniffer: > >> > >> > >>POST /soap/servlet/messagerouter HTTP/1.0 > >>Host: 192.168.0.82:8080 > >>Content-Type: multipart/related; > >>boundary="----=_Part_1_64111.1042701017867"; type="text/xml"; > >>start="4035210.1042701018008.apache-soap.johnp4" > >>Content-Length: 1754 > >>SOAPAction: "" > >> > >>------=_Part_1_64111.1042701017867 > >>Content-Type: text/xml; charset=utf-8 > >>Content-Transfer-Encoding: 8bit > >>Content-ID: <4035210.1042701018008.apache-soap.johnp4> > >>Content-Length: 1170 > >> > >>.... snip .... > >> > >> > >> > >>-- > >>To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > >>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > >> > >> > >> > >> > > > > > >Scott Nichol > > > > > >-- > >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > -- > Jesus M. Salvo Jr. > Mobile Internet Group Pty Ltd > (formerly Softgame International Pty Ltd) > M: +61 409 126699 > T: +61 2 94604777 > F: +61 2 94603677 > > PGP Public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC0BA5348 > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > Scott Nichol -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>