-- 作者:pandaann
-- 发布时间:9/19/2007 12:40:00 PM
-- 新手!!请教一个用uddi4j运行saveBusinessExample的错误
我在运行uddi4j目录下的SaveBusinessExample.java时,出现如下异常: *********** Running SaveBusinessExample *********** Get authtoken org.uddi4j.transport.TransportException: no protocol: <?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> <authToken generic="2.0" operator="jUDDI.org" xmlns="urn:uddi-org:api_v2"> <authInfo>authToken:E3AE1C30-6669-11DC-AA1E-AEFAD1C24DCB</authInfo> </authToken> </soapenv:Body> </soapenv:Envelope> at org.uddi4j.transport.ApacheSOAPTransport.send(ApacheSOAPTransport.java:88) at org.uddi4j.transport.TransportBase.send(TransportBase.java:57) at org.uddi4j.client.UDDIProxy.send(UDDIProxy.java:1942) at org.uddi4j.client.UDDIProxy.get_authToken(UDDIProxy.java:1626) at panda.SaveBusinessExample.run(SaveBusinessExample.java:74) at panda.SaveBusinessExample.main(SaveBusinessExample.java:52) Nested exception: [SOAPException: faultCode=SOAP-ENV:Client; msg=no protocol: <?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> <authToken generic="2.0" operator="jUDDI.org" xmlns="urn:uddi-org:api_v2"> <authInfo>authToken:E3AE1C30-6669-11DC-AA1E-AEFAD1C24DCB</authInfo> </authToken> </soapenv:Body> </soapenv:Envelope>; targetException=java.net.MalformedURLException: no protocol: <?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> <authToken generic="2.0" operator="jUDDI.org" xmlns="urn:uddi-org:api_v2"> <authInfo>authToken:E3AE1C30-6669-11DC-AA1E-AEFAD1C24DCB</authInfo> </authToken> </soapenv:Body> </soapenv:Envelope>] at org.apache.soap.messaging.Message.receiveEnvelope(Message.java:144) at org.uddi4j.transport.ApacheSOAPTransport.send(ApacheSOAPTransport.java:79) at org.uddi4j.transport.TransportBase.send(TransportBase.java:57) at org.uddi4j.client.UDDIProxy.send(UDDIProxy.java:1942) at org.uddi4j.client.UDDIProxy.get_authToken(UDDIProxy.java:1626) at panda.SaveBusinessExample.run(SaveBusinessExample.java:74) at panda.SaveBusinessExample.main(SaveBusinessExample.java:52) Caused by: java.net.MalformedURLException: no protocol: <?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> <authToken generic="2.0" operator="jUDDI.org" xmlns="urn:uddi-org:api_v2"> <authInfo>authToken:E3AE1C30-6669-11DC-AA1E-AEFAD1C24DCB</authInfo> </authToken> </soapenv:Body> </soapenv:Envelope> at java.net.URL.<init>(Unknown Source) at java.net.URL.<init>(Unknown Source) at java.net.URL.<init>(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.apache.soap.util.xml.XMLParserUtils.parse(XMLParserUtils.java:323) at org.apache.soap.util.xml.XMLParserUtils.parse(XMLParserUtils.java:247) at org.apache.soap.messaging.Message.receiveEnvelope(Message.java:127) at org.uddi4j.transport.ApacheSOAPTransport.send(ApacheSOAPTransport.java:79) at org.uddi4j.transport.TransportBase.send(TransportBase.java:57) at org.uddi4j.client.UDDIProxy.send(UDDIProxy.java:1942) at org.uddi4j.client.UDDIProxy.get_authToken(UDDIProxy.java:1626) at panda.SaveBusinessExample.run(SaveBusinessExample.java:74) at panda.SaveBusinessExample.main(SaveBusinessExample.java:52) 请问这个问题如果解决??
|