Thanks Kumar Raja and you are right that I am preparing for the certification
I am using RAD7.5 because not have permissionsto install GlassFish in my office system.
I have tried using the qname as..
QName theDummyQName = new QName(XML_SCHEMA_NAMESPACE, "dummy");
XML_SCHEMA_NAMESPACE =
http://www.example.com/xmlcalculator
this time it is giving the error...
What operation do you want to perform (Addition = add, Subtraction = sub, Division = div, Multiplication = mult)?
add
Give the first integer number:
100
Give the second integer number:
200
Jan 26, 2011 3:26:15 PM null null
INFO: ssl.disable.url.hostname.verification.CWPKI0027I
Jan 26, 2011 3:26:16 PM null null
INFO: Client code attempting to load security configuration
Jan 26, 2011 3:26:16 PM null null
INFO: Client code attempting to load security configuration
Jan 26, 2011 3:26:17 PM null null
AUDIT: chain.started
javax.xml.ws.WebServiceException: java.net.ConnectException: HTTP ( 404 ) Not Found address :
http://localhost:9081/JAX-WSXMLCalculator/xmlcalc/
at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:175)
at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:128)
at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.execute(AxisInvocationController.java:572)
at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.doInvoke(AxisInvocationController.java:123)
at org.apache.axis2.jaxws.core.controller.impl.InvocationControllerImpl.invoke(InvocationControllerImpl.java:93)
at org.apache.axis2.jaxws.client.dispatch.BaseDispatch.invoke(BaseDispatch.java:192)
at com.vasu.client.XMLCalculatorClient.<init>(XMLCalculatorClient.java:87)
at com.vasu.client.XMLCalculatorClient.main(XMLCalculatorClient.java:51)
Caused by: java.net.ConnectException: HTTP ( 404 ) Not Found address : http://localhost:9081/JAX-WSXMLCalculator/xmlcalc/ at com.ibm.ws.websvcs.transport.http.SOAPOverHTTPSender.processStatusCode(SOAPOverHTTPSender.java:3497)
at com.ibm.ws.websvcs.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:502)
at com.ibm.ws.websvcs.transport.http.HTTPTransportSender.invoke(HTTPTransportSender.java:311)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:452)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.execute(AxisInvocationController.java:567)
... 5 more
I guess.. i have not defined the endpoint and not sure in which dd needs to define..