SOAP::Lite is generating a message that does not conform to the WSDL.
I'm not familiar with SOAP::Lite, but I've seen other questions from
users regarding these dynamically generated element names
("c-gensym3"), which are totally inappropriate. I'm sure there must be
a way to get Perl to generate SOAP messages that conform to the WSDL.
Worst case -- use the low-level API and generate the messages
manually.Anne On 4/15/05, I.Venuti <[EMAIL PROTECTED]> wrote: > > Your WSDL looks fine. What do you mean "it is responding to an > > endpoint that has nothing to do with the namespace"? Can you give us > > the error? > > The error is: > > Fault :org.xml.sax.SAXException: SimpleDeserializer encountered a child > element, which is NOT expected, in something it was trying to > deserialize. > Faultcode :soapenv:Server.userException > Faultdetail :hostnamealpha > > So there is some problem in the message. > I've tested the message arrived from Perl client: > > <?xml version="1.0" encoding="utf-8"?> > <soap:Envelope > soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Body> > <namesp1:productsList xmlns:namesp1="ProductsExampleWS"> > <c-gensym3 xsi:type="xsd:date">1970-10-12</c-gensym3> > </namesp1:productsList> > </soap:Body> > </soap:Envelope> > > This is one generated by an axis client (this works): > > <?xml version="1.0" encoding="utf-8"?> > <soapenv:Envelope > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <soapenv:Body> > <ElementDate > xmlns="http://ivenuti.altervista.org/ProductsExampleWS.xsd1">2005-04-14</Ele > mentDate> > </soapenv:Body> > </soapenv:Envelope> > > > I suspect it is a problem with SOAP::Lite, and you might do better > > asking this question on the SOAP:Lite discussion list. > > thanks for suggestion: I'm asking also there in order to see if there is a > mistake in the generated message... > > Thanks again > > -- Ivan > >
