Webservice can only be accessed locally
Add the following configuration under <system. web>:
<Webservices>
<Protocols>
<Add name = "https tutorial oap"/>
<Add name = "httppost"/>
<Add name = "httpget"/>
<Add name = "documentation"/>
</Protocols>
</Webservices>
Jrockit81sp6_142_10 causes the following error to be reported when the webservice parameter of axis is passed in:
Java. lang. nullpointerexception error. This is the error message returned by calling xmlspy.
<? 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. nullpointerexception </faultstring>
<Detail>
<Ns1: hostname xmlns: ns1 = "http://xml.apache.org/axis/"> temp-e23cd45c2d </ns1: hostname>
</Detail>
</Soapenv: fault>
</Soapenv: body>
</Soapenv: envelope>
At this time, it is not called to the program at all. Once the parameter is passed in, an error will be reported. After checking that it is a problem with the jdk of weblogic, it is OK to use the jdk of sun. You need to modify startweblogic. cmd.
Set java_vendor = sun
Set java_home = d: beajdk142_11
Error weblogic version: 8. 1
The webservice does not exist or the network may be disconnected.
[Soapexception: faultcode = ns1: server. noservice; msg = the axis engine cocould not find a target service to invoke! Targetservice is simplewebservicetest
An internal error occurs in the service provider of webservice. For example, if the parameter passed by the webservice caller is null and the provider does not check the parameter
Axisfault
Faultcode: {http://schemas.xmlsoap.org/soap/envelope/}server.userexception
Faultsubcode:
Faultstring: java. lang. nullpointerexception
Faultactor:
Faultnode: