jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evrim Ozcelik" <evrimozce...@gmail.com>
Subject Re: The processing instruction target matching "[xX][mM][lL]" is not allowed
Date Mon, 14 Jul 2008 08:19:56 GMT
Hi,

Thanks for your answer.
I removed the XML processing instruction (<?xml version="1.0"
encoding="UTF-8" ?>).
But at this time I had the following error on the application server
webservice handler.
So how can I define the text XML data as a string data for the
q0:startProcessRequestXML element.


[7/11/08 10:50:42:661 EEST] 00000077 UserException E   WSWS3228E: Error:
Exception: WebServicesFault
 faultCode: {
http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultString: org.xml.sax.SAXException: WSWS3084E: Error: SimpleDeserializer
encountered a child element, which is NOT expected, in something it was
trying to deserialize. Message being parsed:
 faultActor: null
 faultDetail:

org.xml.sax.SAXException: WSWS3084E: Error: SimpleDeserializer encountered a
child element, which is NOT expected, in something it was trying to
deserialize. Message being parsed:
        at
com.ibm.ws.webservices.engine.WebServicesFault.makeFault(WebServicesFault.java:205)
        at
com.ibm.ws.webservices.engine.SOAPPart._getSOAPEnvelope(SOAPPart.java:1055)
        at
com.ibm.ws.webservices.engine.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:605)
        at
com.ibm.ws.webservices.engine.SOAPPart.getEnvelope(SOAPPart.java:633)
        at
com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandlerChain.handleRequest(JAXRPCHandlerChain.java:295)
        at
com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invokeServerRequestHandler(JAXRPCHandler.java:505)
        at
com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler$1.invoke(JAXRPCHandler.java:379)
        at
com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:206)
        at
com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:283)
        at
com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:729)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
        at
com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:341)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled
Code))
        at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled
Code))
        at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:89)
        at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1936)
        at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:114)
        at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
        at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
        at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
        at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
        at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled
Code))
        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled
Code))
        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled
Code))
        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled
Code))
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled
Code))
Caused by: org.xml.sax.SAXException: WSWS3084E: Error: SimpleDeserializer
encountered a child element, which is NOT expected, in something it was
trying to deserialize.
        at
com.ibm.ws.webservices.engine.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:192)
        at
com.ibm.ws.webservices.engine.events.P2DConverter.flush(P2DConverter.java:814)
        at
com.ibm.ws.webservices.engine.events.P2DConverter.startElement(P2DConverter.java:278)
        at sax.SAX2DocumentEntityParserBase.startElement(Unknown Source)
        at sax.latin.LatinWFCSAX2DocumentEntityParser.startElement(Unknown
Source)
        at sax.SAX2DocumentEntityParserBase.startElementAction(Unknown
Source)
        at util.DocumentEntityParserBase.startElementEvent(Unknown Source)
        at
com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanStartElement(Unknown
Source)
        at
com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanContent(Unknown
Source)
        at
com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanDocument(Unknown
Source)
        at sax.latin.LatinWFCSAX2DocumentEntityParser.scanDocument(Unknown
Source)
        at util.DocumentEntityParserBase.parse(Unknown Source)
        at sax.SAX2DocumentEntityParserBase.parseEntity(Unknown Source)
        at sax.SAX2DocumentEntityParserBase.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at
com.ibm.ws.webservices.engine.utils.WebServicesParser.parse(WebServicesParser.java:274)
        at
com.ibm.ws.webservices.engine.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:268)
        at
com.ibm.ws.webservices.engine.SOAPPart._getSOAPEnvelope(SOAPPart.java:1029)
        ... 26 more




On Sat, Jul 12, 2008 at 1:45 AM, sebb <sebbaz@gmail.com> wrote:

> On 11/07/2008, Evrim Ozcelik <evrimozcelik@gmail.com> wrote:
> > Hi,
> >
> >  I need to call a webservice using JMeter and one of the parameters of
> the
> >  webservice operation is needed to be an XML string.
> >  Here is my Soap/XML-RPC Data
> >
> >  <?xml version="1.0" encoding="UTF-8" ?>
> >  <SOAP-ENV:Envelope xmlns:SOAP-ENV="
> http://schemas.xmlsoap.org/soap/envelope/"
> >  xmlns:q0="http://bpservices/" xmlns:xsd="
> http://www.w3.org/2001/XMLSchema"
> >  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> >  <SOAP-ENV:Body>
> >
> >
>  <q0:startProcessRequestTemplateName>RetailLoan</q0:startProcessRequestTemplateName>
> >
> >
> >
>  <q0:startProcessRequestInstanceName>Retail2</q0:startProcessRequestInstanceName>
> >
> >   <q0:startProcessRequestXML>*<?xml version="1.0" encoding="UTF-8"
> >  ?>
>
> Try removing the previous xml processing instruction.
>
> <data:RetailLoanInput xsi:type="data:RetailLoanInput" xmlns:xsi="
> >  http://www.w3.org/2001/XMLSchema-instance" xmlns:data="
> http://RetailLoanData
> >
>  "><applicationForm><applicationFormId><id>0</id></applicationFormId></data:RetailLoanInput>
> >  *</q0:startProcessRequestXML>
> >   </SOAP-ENV:Body>
> >   </SOAP-ENV:Envelope>
> >
> >  But when I run the test I have this error:
> >
> >  Thread Name: RetailLoans BPEjbService 1-1
> >  Sample Start: 1970-01-01 02:00:00 EET
> >  Load time: 0
> >  Latency: 0
> >  Size in bytes: 0
> >  Sample Count: 1
> >  Error Count: 1
> >  Response code: 000
> >  Response message: The processing instruction target matching
> "[xX][mM][lL]"
> >  is not allowed.
> >
> >  How can I send the XML data to the webservice operation?
> >
> >  -
> >  Evrim Özçelik
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>


-- 
Evrim Özçelik

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message