I'd say that you have a bit of a quandry. You need to find a SOAP
implementation that supports an early working draft of the SOAP 1.2.
specification (not likely). I would go to your service provider and try to
convince them to use a stable version of SOAP -- for now that would be SOAP
1.1. (The SOAP 1.2 spec should be final next month.)

Anne

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 01, 2003 3:55 PM
Subject: Re: Problem reading from file


> Rob,
>
> I didn't know that, so I visited the URL and saw that it is an
> old version of the 1.2 schema. The latest seems to be:
>
> http://www.w3.org/2003/05/soap-envelope/
>
> This is all very confusing. With so many versions (and within
> versions, multiple URLs), I wouldn't know how to proceed
> if I had a choice.
>
> Fortunately or unfortunately, I don't have a choice. The webservice
> I am trying to communicate with seems to require:
>
> http://www.w3.org/2001/09/soap-envelope
>
> Is there any way this can be done using Axis? If not,
> what other choices for building clients are there for SOAP 1.2?
>
> Thanks,
>
>   Ken.
>
>
> --
> Ken Kress                                     [EMAIL PROTECTED]
> SAS, The Bank of New York                            484.605.4834
>
>
>
>
> "Robert Lowe" <[EMAIL PROTECTED]>
> 06/01/2003 01:03 PM
> Please respond to axis-user
>
>         To:     <[EMAIL PROTECTED]>
>         cc:
>         Subject:        Re: Problem reading from file
>
>
> I think the important point here is which version of SOAP you are using.
> The
> first URL identifies your message as a SOAP 1.1 message, whereas the
> second
> is for SOAP 1.2.
>
> - Rob
>
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, June 02, 2003 12:50 AM
> Subject: RE: Problem reading from file
>
>
> > Fred,
> >
> > Thanks for your help. Axis accepted the xml after I added
> > a slash to the end:
> >
> >     xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";
> >
> > The slash-noslash issue confuses me. When I sent my xml
> > to my business partner's web service, it rejected the above
> >  ... and wouldn't accept my xml until I changed it back to:
> >
> > http://www.w3.org/2001/09/soap-envelope
> >
> > It seems strange that everyone is hard-coding the URL for
> > the SOAP-envelope schema.
> >
> > I'm flabbergasted that something as simple as this might
> > prevent me from using Axis for this project.
> >
> >   Ken.
> >
> > --
> > Ken Kress                                     [EMAIL PROTECTED]
> > SAS, The Bank of New York                            484.605.4834
> >
> >
> >
> >
> > "Barrett, Fred" <[EMAIL PROTECTED]>
> > 05/30/2003 04:29 PM
> > Please respond to axis-user
> >
> >         To:     "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> >         cc:
> >         Subject:        RE: Problem reading from file
> >
> >
> > Try this for your soap envelope namespace:
> >
> >     xmlns:env="http://schemas.xmlsoap.org/soap/envelope";
> >
> > -- Fred B.
> >
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: Friday, May 30, 2003 3:42 PM
> > To: [EMAIL PROTECTED]
> > Subject: Problem reading from file
> >
> >
> > I thought I could solve my own problem by reading in the
> > complete XML document from the file system, but it isn't
> > working. The error message I get is probably misleading,
> > so I could use some help. What am I doing wrong?
> >
> > I kept trimming things out of the XML file till I got it down
> > to:
> > <?xml version="1.0" encoding="UTF-8"?>
> > <env:Envelope
> >         xmlns:env="http://www.w3.org/2001/09/soap-envelope";
> >         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> > </env:Envelope>
> >
> > When I try this:
> >
> > FileInputStream fis = null;
> > try {fis = new FileInputStream ( inputfile);}
> > catch ( FileNotFoundException fofe )
> > { System.out.println("Error: " + fofe.toString());}
> > SOAPEnvelope request = new SOAPEnvelope( fis );
> >
> > I get this error:
> >
> > Exception in thread "main" Version Mismatch
> > at
> >
>
org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:13
> > 8)
> > at
> >
>
org.apache.axis.encoding.DeserializationContextImpl.startElement(Deserializa
> > tionContextImpl.java:962)
> > at
> >
> weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
> > at
> >
>
weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLVa
> > lidator.java:1183)
> > at
> >
>
weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentS
> > canner.java:1876)
> > at
> >
>
weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispat
> > ch(XMLDocumentScanner.java:1019)
> > at
> >
>
weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSca
> > nner.java:381)
> > at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
> > at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:123)
> > at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:125)
> > at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
> > at
> >
>
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationCon
> > textImpl.java:242)
> > at org.apache.axis.message.SOAPEnvelope.<init>(SOAPEnvelope.java:158)
> > at TestFileImport.doit(TestFileImport.java:53)
> > at TestFileImport.main(TestFileImport.java:71)
> >
> >
> > --
> > Ken Kress                                     [EMAIL PROTECTED]
> > SAS, The Bank of New York                            484.605.4834
> >
> > ________________________________________________________________________
> > The information in this e-mail, and any attachment therein, is
> > confidential
> > and for use by the addressee only. If you are not the intended
> recipient,
> > please return the e-mail to the sender and delete it from your computer.
> > Although The Bank of New York attempts to sweep e-mail and attachments
> for
> > viruses, it does not guarantee that either are virus-free and accepts no
> > liability for any damage sustained as a result of viruses.
> >
> >
> >
> > ________________________________________________________________________
> > The information in this e-mail, and any attachment therein, is
> confidential and for use by the addressee only. If you are not the
> intended
> recipient, please return the e-mail to the sender and delete it from your
> computer. Although The Bank of New York attempts to sweep e-mail and
> attachments for viruses, it does not guarantee that either are virus-free
> and accepts no liability for any damage sustained as a result of viruses.
>
>
>
>
> ________________________________________________________________________
> The information in this e-mail, and any attachment therein, is
confidential and for use by the addressee only. If you are not the intended
recipient, please return the e-mail to the sender and delete it from your
computer. Although The Bank of New York attempts to sweep e-mail and
attachments for viruses, it does not guarantee that either are virus-free
and accepts no liability for any damage sustained as a result of viruses.
>

Reply via email to