Results 1 to 1 of 1
Thread: webservices axis..
- 01-30-2008, 06:06 PM #1
Member
- Join Date
- Jan 2008
- Posts
- 1
- Rep Power
- 0
webservices axis..
Axis throws a wierd error from the client code I wrote. New to webservices, tried my best but couldnt figure out whats wrong. Please help.
This is the error:
org.apache.axis.client.Call invoke Mapping Exception to AxisFault
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultString: Server was unable to process request. ---> Syntax error: Missing operand after 'And' operator.
faultActor: null
faultDetail:
stackTrace: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultString: Server was unable to process request. ---> Syntax error: Missing operand after 'And' operator.
faultActor: null
faultDetail:
Server was unable to process request. ---> Syntax error: Missing operand after 'And' operator.
at org.apache.axis.message.SOAPFaultBuilder.endElemen t(SOAPFaultBuilder.java:135)
at org.apache.axis.encoding.DeserializationContextImp l.endElement(DeserializationContextImpl.java:942)
at org.apache.xerces.parsers.AbstractSAXParser.endEle ment(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.sc anEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse( Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContextImp l.parse(DeserializationContextImpl.java:232)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPar t.java:546)
at org.apache.axis.Message.getSOAPEnvelope(Message.ja va:377)
at org.apache.axis.client.Call.invokeEngine(Call.java :2132)
at org.apache.axis.client.Call.invoke(Call.java:2102)
at org.apache.axis.client.Call.invoke(Call.java:1851)
at org.apache.axis.client.Call.invoke(Call.java:1777)
at org.apache.axis.client.Call.invoke(Call.java:1315)
This is how I invoke the sevice
_call.invoke(new java.lang.Object[] {fieldvalue, new Boolean(exactmatch), new Boolean(activeonly), new java.lang.Integer(setofpeople), outputmode, "", "", processIdentifier});
Quite not sure what the return type should be set as and below is the service:
<GetDataByNativeID xmlns="http://abc.intranet.local/CorporateDirectory">
<fieldvalue>string</fieldvalue>
<exactmatch>boolean</exactmatch>
<activeonly>boolean</activeonly>
<setofpeople>int</setofpeople>
<outputmode>string</outputmode>
<filename>string</filename>
<filetype>string</filetype>
<processIdentifier>string</processIdentifier>
</GetDataByNativeID>
<soap:Body>
<GetDataByNativeIDResponse xmlns="http://abc.intranet.local/CorporateDirectory">
<GetDataByNativeIDResult>xml</GetDataByNativeIDResult>
</GetDataByNativeIDResponse>
</soap:Body>
Similar Threads
-
java webServices
By renukadevi.karri in forum New To JavaReplies: 0Last Post: 01-10-2008, 12:09 PM -
Free WebServices
By javaplus in forum Web FrameworksReplies: 4Last Post: 11-26-2007, 11:00 AM -
How to retrieve HttpSession from axis 2.0.
By snooze-g in forum Advanced JavaReplies: 0Last Post: 10-02-2007, 07:08 AM -
To make work DLL from webservices
By Felissa in forum Advanced JavaReplies: 1Last Post: 07-05-2007, 07:07 PM -
java.lang.RuntimeException+ Axis
By Peter in forum Advanced JavaReplies: 1Last Post: 07-05-2007, 01:43 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks