Dear seniors
i m creating one web service . My aim is to create the web service for a given xml file.That is the input is one xml file for my
java class i want to create the
soap message for the given xml input and pass it to server the server has one implementation class and one interface class using one build xml i m creating the war file for server.
""Now i want to send the SOAPMESSAGE argument to the server.Using SERVICE how to send the argument to the server.""
ServiceFactory serviceFactory = ServiceFactory.newInstance();
Service helloService = serviceFactory.createService(helloWsdlUrl,new QName(nameSpaceUri,serviceName));
JAXMClient.JAXMServiceIF objSoap=(JAXMClient.JAXMServiceIF)
helloService.getPort(new QName(nameSpaceUri,portName),JAXMClient.JAXMServiceIF.class);
SOAPMessage soapResult=objSoap.onMessage(message);
JAXMServiceIF is my server side interface.
i got the error in this place.
how can i send the soap message by argumnt to server
thanks