|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Custom web serviceHi ,
I am new to ATG. I want to create a custom web service to update the shipping details in the order repository.I will get the request from external system.I want to update hardgoodshipping item descriptor based on orderId(which comes from the request). I need to give response to customer either success or failure (It is based on reposiory update). I have created wsdl and xsd's to develop this service. I have to deploy this service on Jboss server and I used axis2 to develop server side from the wsdl. I have to create service implementation class in server side code to update the repository code.Now I am unable to integrate my implementation code with ATG. What kind of configurations needs to be done to integrate wiht ATG. Wether I need to create a separate module in ATG or is there any way to create custom service in ATG. It is very urgent for me. Please help ........... Thanks in advance... Regards, Geetha. Thanks & Regards
Geetha |
|
|
Re: Custom web serviceHi Geetha,
I think (I don“t have enough information of your requirements to be sure), that the functionality you need has been already developed by ATG, so you just need to setup it up. If you have access to the ATG documentation take a look at the ATG Commerce Programming Guide, chapter ATG Commerce Web Services for information about the functionality of standard ATG Commerce Web Services. For more information about setting up ATG Web Services look at the Web Services and integration Framework Guide. Good luck! |
|
|
Re: Custom web serviceI have created sample component based web service in ATG using atg webservice wizard. I am getting the following exception when i call web service in stand alone client. Pleasea find my wsdl and xsd in attachment. Please its urgent for me. Please help on this . Exception in thread "main" AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.lang.NullPointerException faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException at java.util.Hashtable.put(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown Source) at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538) at org.apache.axis.Message.getSOAPEnvelope(Message.java:376) at org.apache.axis.client.Call.invokeEngine(Call.java:2609) at org.apache.axis.client.Call.invoke(Call.java:2579) at org.apache.axis.client.Call.invoke(Call.java:2268) at org.apache.axis.client.Call.invoke(Call.java:2191) at org.apache.axis.client.Call.invoke(Call.java:1711) at com.pa.user.CallserviceSEIBindingStub.callservice(CallserviceSEIBindingStub.java:143) at com.Sample.main(Sample.java:18) java.lang.NullPointerException at org.apache.axis.AxisFault.makeFault(AxisFault.java:129) at org.apache.axis.client.Call.invoke(Call.java:2271) at org.apache.axis.client.Call.invoke(Call.java:2191) at org.apache.axis.client.Call.invoke(Call.java:1711) at com.pa.user.CallserviceSEIBindingStub.callservice(CallserviceSEIBindingStub.java:143) at com.Sample.main(Sample.java:18) Caused by: java.lang.NullPointerException at java.util.Hashtable.put(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown Source) at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538) at org.apache.axis.Message.getSOAPEnvelope(Message.java:376) at org.apache.axis.client.Call.invokeEngine(Call.java:2609) at org.apache.axis.client.Call.invoke(Call.java:2579) at org.apache.axis.client.Call.invoke(Call.java:2268) ... 4 more Please help me on this............................... Thanks in advance , Geetha. callservice.wsdlatg.security.wsdl Thanks & Regards
Geetha |
| Free embeddable forum powered by Nabble | Forum Help |