Hi People
When I try to create stubs using WSDL2Java using 1.4.0 I get the following error
m/soap-api/notification?WSDL -T 1.1
javax.net.ssl.SSLHandshakeException: Could not find trusted certificate
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(DashoA6
75)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
at java.io.OutputStream.write(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275
at sun.net.www.protocol.https.HttpsClient.afterConnect(DashoA6275)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connec
(DashoA6275)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown S
urce)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Das
oA6275)
at java.net.URL.openStream(Unknown Source)
at org.apache.crimson.parser.InputEntity.init(Unknown Source)
at org.apachhe.crimson.parser.Parser2.parseInternal(Unknown Source)
at org.apache.crimson.parser.Parser2.parse(Unknown Source)
at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.ja
a:482)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Unknown Source)
Can anyone please tell me how to solve this?
I tries running the services using 1.4.2 and 1.5.0 and they are fine.
Is there some way I can use the stub classes in any jre versions
without creating them again?
--
Dipty Maybhate
Research Assistant
Office of Assessment
University of Texas at Dallas
Richardson, TX.
On 7/30/05, Jhan Yuler <[EMAIL PROTECTED]> wrote:
> Sure the response that you are receiving is a container response, maybe
> error 500 or something like that.
>
> I recommend to you that you use a proxy to identify the problem. The Axis
> framework provide a very good tool for this. Check your documentation and
> look for the "tcpmon" tool.
>
> Good lock!
>
>
>
>
> >From: Jie Zhou <[EMAIL PROTECTED]>
> >Reply-To: [email protected]
> >To: "'[email protected]'" <[email protected]>
> >Subject: Bad envelope: html
> >Date: Fri, 29 Jul 2005 20:26:22 -0700
> >
> >Hi Everyone,
> >
> >
> >
> >I'm testing my web service with a simple client. When I invoke my client, I
> >got the following. Does anybody know what might have caused this?
> >
> >I can get the WSDL of my service via
> >http://hostname:port/axis/services/MyService?WSDL
> ><http://hostname:port/axis/services/MyService?WSDL> .
> >
> >
> >
> >What does it mean and how can I debug this?
> >
> >
> >
> >Thank you very much,
> >
> >
> >
> >Jie
> >
> >
> >
> >
> >
> >Error: ; nested exception is:
> >
> > org.xml.sax.SAXException: Bad envelope tag: html
> >
> >AxisFault
> >
> > faultCode:
> >{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> >
> > faultSubcode:
> >
> > faultString: org.xml.sax.SAXException: Bad envelope tag: html
> >
> > faultActor:
> >
> > faultNode:
> >
> > faultDetail:
> >
> > {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
> >Bad envelope tag: html
> >
> > at
> >org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:70
> >)
> >
> > at
> >org.apache.axis.encoding.DeserializationContext.startElement(Deserialization
> >Context.java:1048)
> >
> > at
> >org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
> >Source)
> >
> > at
> >org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
> >Source)
> >
> > at
> >org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRoot
> >ElementHook(Unknown Source)
> >
> > at
> >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
> >her.dispatch(Unknown Source)
> >
> > at
> >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> >Source)
> >
> > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> >Source)
> >
> > at org.apache.xerces.parsers.DTDConfiguration.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(SAXParser.java:345)
> >
> > at
> >org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext
> >.java:227)
> >
> > at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
> >
> > at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
> >
> > at
> >org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChe
> >cker.java:62)
> >
> > at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
> >
> > at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
> >
> > at org.apache.axis.client.Call.invoke(Call.java:2748)
> >
> > at org.apache.axis.client.Call.invoke(Call.java:2424)
> >
> > at org.apache.axis.client.Call.invoke(Call.java:2347)
> >
> > at org.apache.axis.client.Call.invoke(Call.java:1804)
> >
> > at
> >com.entriq.device.mcsws.DeviceInfoSoapStub.getDeviceInfo(DeviceInfoSoapStub.
> >java:103)
> >
> > at Test.main(Test.java:11)
> >
> >
> >
> > {http://xml.apache.org/axis/}hostname:mdev1.entriq.net
> >
> >
> >
>
>
>
--
Dipty Maybhate
Research Assistant
Office of Assessment
University of Texas at Dallas
Richardson, TX.