Hi Siegfried, Thanks for your analysis. The following are the logs which TCPMon generated... ----------------------------------------------------- When i type in the link to the WSRP4j producer like : http://localhost:9101/wsrp4j-producer/services/WSRPBaseService
The get message is as follows: GET /wsrp4j-producer/services/WSRPBaseService HTTP/1.1 Host: localhost:9101 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9 ,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: JSESSIONIDSSO=008C2DF34E0169135D441CEC95FA443C; JSESSIONID=E73FF511D7B028071FF7D7BBE7683197 To which the reply is: HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Type: text/html;charset=utf-8 Content-Length: 139 Date: Mon, 01 Oct 2007 13:33:36 GMT <h1>WSRPBaseService</h1><p>Hi there, this is an AXIS service!</p><i>Perhaps there will be a form for invoking the service here...</i> ------------------------------------------------- Now i click on View offered portlets link in the producer.. and the following exchange takes place... Get message: POST /wsrp4j-producer/services/WSRPServiceDescriptionService HTTP/1.0 Content-Type: text/xml; charset=utf-8 Accept: application/soap+xml, application/dime, multipart/related, text/* User-Agent: Axis/1.4 Host: localhost:9101 Cache-Control: no-cache Pragma: no-cache SOAPAction: "urn:oasis:names:tc:wsrp:v1:getServiceDescription" Content-Length: 460 <?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> <getServiceDescription xmlns="urn:oasis:names:tc:wsrp:v1:types"> <registrationContext> <registrationHandle>130.1.19.59_1191063869540_0 </registrationHandle> </registrationContext> </getServiceDescription> </soapenv:Body> </soapenv:Envelope> to which the reply comes as follows : HTTP/1.1 500 Internal Server Error Server: Apache-Coyote/1.1 Content-Type: text/xml;charset=utf-8 Date: Mon, 01 Oct 2007 13:34:18 GMT Connection: close <?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>java.lang.reflect.InvocationTargetException </faultstring> <detail> <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/ ">pc883</ns1:hostname> </detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> ---------------------------------------------------------------------- I'm trying to look into the details of getServiceDescription error too.. please let me know if you can make something of the above. Thanks and Regards, Ramesh B. On 10/1/07, Sauter-Fischer, Siegfried <[EMAIL PROTECTED]> wrote: > > Hello, > > This is a second try. The first message didn't appear in the mail list. > Now I try a text only message. > > Also I took a further look to your original message and I improved my > analyses. > > There are several errors in your consumer log file, so I wonder which is > the real one. Even I cannot realize an error message on producer side, I > think it's a producer error. The only hints I found are on consumer > side. Think the execption in servlet destroy method doesn't really > matter. > > For me the very most important error seems to be the WSRPException. Take > a look at the cause of this error. It's due an axis fault created while > the getServiceDescription method is called. > > Caused by: java.lang.reflect.InvocationTargetException > at > org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja > va:222) > at > org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav > a:129) > at > org.apache.axis.encoding.DeserializationContext.endElement(Deserializati > onContext.java:1087) > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown > Source) > at > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis > patcher.dispatch(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno > wn Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at javax.xml.parsers.SAXParser.parse(Unknown Source) > at > org.apache.axis.encoding.DeserializationContext.parse(DeserializationCon > text.java:227) > at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) > at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) > at > org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstan > dChecker.java:62) > at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) > at org.apache.axis.client.Call.invokeEngine(Call.java:2784) > at org.apache.axis.client.Call.invoke(Call.java:2767) > at org.apache.axis.client.Call.invoke(Call.java:2443) > at org.apache.axis.client.Call.invoke(Call.java:2366) > at org.apache.axis.client.Call.invoke(Call.java:1812) > at > oasis.names.tc.wsrp.v1.bind.WSRP_v1_ServiceDescription_Binding_SOAPStub. > getServiceDescription(WSRP_v1_ServiceDescription_Binding_SOAPStub.java:7 > 45) > at > org.apache.wsrp4j.commons.consumer.driver.producer.ProducerImpl.getServi > ceDescription(ProducerImpl.java:419) > ... 71 more > > In this stack trace you can see: > The error occurs while axis tries to deserialize the stream. > at > org.apache.axis.encoding.DeserializationContext.parse(DeserializationCon > text.java:227) > There is some problem to parse the end element > at > org.apache.axis.encoding.DeserializationContext.endElement(Deserializati > onContext.java:1087) > at > org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) > > It's very likely a xml start tag is unmatched. Seem's the xml is not > well formed. This may happen, if an error occurs during the creation of > the xml content. > > You told, you already use tcpmon. Take a look at the stream. What's the > error in the xml content? > > kind regards > > Siegfried Sauter-Fischer > > > T-Mobile Deutschland GmbH > Aufsichtsrat: Hamid Akhavan (Vorsitzender) > Geschaftsfuhrung: Philipp Humm (Sprecher), Thomas Berlemann, Stefan > Homeister, Holger Kranzusch, Gunther Ottendorfer, Dr. Raphael Kubler, Dr. > Steffen Roehn > Handelsregister: Amtsgericht Bonn, HRB 59 19 > Sitz der Gesellschaft: Bonn > WEEE-Reg.-Nr.: DE60800328 >
