See enclosed tcpmon.txt...

<faultstring>org.xml.sax.SAXParseException: The string &quot;--&quot; is not permitted 
within
comments.</faultstring>


--- Glen Daniels <[EMAIL PROTECTED]> wrote:
> 
> Weird - this test worked (and still works repeatedly) for me before your commit.  
> Where does it
> say comments can't have embedded quotes?  Nesting comments doesn't work (like /* and 
> */), but
> quotes should be fine...
> 
> Curious,
> --Glen
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, March 02, 2003 11:18 AM
> > To: [EMAIL PROTECTED]
> > Subject: cvs commit: xml-axis/java/test/wsdl/extensibility
> > server-deploy.wsdd
> > 
> > 
> > dims        2003/03/02 08:17:57
> > 
> >   Modified:    java/test/wsdl/extensibility server-deploy.wsdd
> >   Log:
> >   comments cannot have embedded quotes...This was breaking the build.
> >   
> >   Revision  Changes    Path
> >   1.8       +0 -12     
> > xml-axis/java/test/wsdl/extensibility/server-deploy.wsdd
> >   
> >   Index: server-deploy.wsdd
> >   ===================================================================
> >   RCS file: 
> > /home/cvs/xml-axis/java/test/wsdl/extensibility/server-deploy.wsdd,v
> >   retrieving revision 1.7
> >   retrieving revision 1.8
> >   diff -u -r1.7 -r1.8
> >   --- server-deploy.wsdd    1 Mar 2003 02:28:27 -0000       1.7
> >   +++ server-deploy.wsdd    2 Mar 2003 16:17:57 -0000       1.8
> >   @@ -26,18 +26,6 @@
> >            encodingStyle=""
> >          />
> >          
> >   -        <!-- Removed.  The xsd:any is now mapped to a type 
> > XSD_ANY that 
> >   -        automatically uses the 
> > ElementSerializer/ElementDeserializer 
> >   -      <typeMapping
> >   -        qname="xsd:anyType"
> >   -        type="java:java.lang.Object"
> >   -        
> > serializer="org.apache.axis.encoding.ser.ElementSerializerFactory"
> >   -        
> > deserializer="org.apache.axis.encoding.ser.ElementDeserializerFactory"
> >   -        encodingStyle=""
> >   -      />
> >   -      -->
> >   -
> >   -
> >          <typeMapping
> >            qname="query:QueryResultElement"
> >            type="java:test.wsdl.extensibility._QueryResultElement"
> >   
> >   
> >   
> > 

=====
Davanum Srinivas - http://webservices.apache.org/~dims/

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
==============
Listen Port: 8080
Target Host: localhost
Target Port: 8000
==== Request ====
POST /axis/services/AdminService HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.1RC1
Host: localhost
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "AdminService"
Content-Length: 2780

<?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><deployment xmlns="http://xml.apache.org/axis/wsdd/"; 
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"; 
xmlns:query="urn:QueryTypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema";>

    <service name="ExtensibilityQueryPort" provider="java:RPC" style="wrapped">
      <parameter name="className" 
value="test.wsdl.extensibility.ExtensibilityQueryBindingSkeleton"/>
      <parameter name="allowedMethods" value="*"/>
      <parameter name="scope" value="Session"/>

      <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 
encodingStyle="" qname="ns:ExtensibilityType" 
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" 
type="java:test.wsdl.extensibility.ExtensibilityType" 
xmlns:ns="urn:ExtensibilityQuery"/>
      
        <!-- Removed.  The xsd:any is now mapped to a type XSD_ANY that 
        automatically uses the ElementSerializer/ElementDeserializer 
      <typeMapping
        qname="xsd:anyType"
        type="java:java.lang.Object"
        serializer="org.apache.axis.encoding.ser.ElementSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.ElementDeserializerFactory"
        encodingStyle=""
      />
      -->


      <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 
encodingStyle="" qname="query:QueryResultElement" 
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" 
type="java:test.wsdl.extensibility._QueryResultElement"/>

      <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 
encodingStyle="" qname="query:QueryResultType" 
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" 
type="java:test.wsdl.extensibility.QueryResultType"/>

      <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 
encodingStyle="" qname="query:ResultListType" 
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" 
type="java:test.wsdl.extensibility.ResultListType"/>

        <typeMapping 
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="" 
qname="query:BookType" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" 
type="java:test.wsdl.extensibility.BookType"/>

        <typeMapping 
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="" 
qname="query:FindBooksQueryExpressionElement" 
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" 
type="java:test.wsdl.extensibility._FindBooksQueryExpressionElement"/>
    </service>


</deployment> </soapenv:Body>
</soapenv:Envelope>==== Response ====
HTTP/1.0 500 Internal server error
Content-Type: text/xml; charset=utf-8
Set-Cookie: 1
Set-Cookie2: 1

<?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>
  <soapenv:Fault>
   <faultcode>soapenv:Server.userException</faultcode>
   <faultstring>org.xml.sax.SAXParseException: The string &quot;--&quot; is not 
permitted within comments.</faultstring>
   <detail>
    <ns1:stackTrace 
xmlns:ns1="http://xml.apache.org/axis/";>org.xml.sax.SAXParseException: The string 
&quot;--&quot; is not permitted within comments.&#xd;
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)&#xd;
        at javax.xml.parsers.SAXParser.parse(Unknown Source)&#xd;
        at 
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)&#xd;
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)&#xd;
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)&#xd;
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:317)&#xd;
        at 
org.apache.axis.transport.http.SimpleAxisWorker.run(SimpleAxisWorker.java:430)&#xd;
        at 
org.apache.axis.transport.http.SimpleAxisServer.run(SimpleAxisServer.java:173)&#xd;
        at 
org.apache.axis.transport.http.SimpleAxisServer.start(SimpleAxisServer.java:212)&#xd;
        at 
org.apache.axis.transport.http.SimpleAxisServer.start(SimpleAxisServer.java:220)&#xd;
        at 
org.apache.axis.transport.http.SimpleAxisServer.main(SimpleAxisServer.java:283)&#xd;
</ns1:stackTrace>
   </detail>
  </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>
==============

Reply via email to