RE: Optional fields

2009-08-17 Thread Sudhanshu Umalkar Umalkar
One way is to try to retrieve the value of that field and check for null at
server side.

  _  

From: Willoughby, Kevin [mailto:kevin.willoug...@arrisi.com] 
Sent: Monday, August 17, 2009 7:43 PM
To: axis-user@ws.apache.org
Subject: Optional fields



I'm working with a WSDL that has optional fields, e.g., ''.

 

When the client does not supply a field, how is the server supposed to know
if the field was omitted?



RE: AXIS2 ERROR: 'org.apache.axis2.transport.http.AxisServlet', is not a known servlet.Servlets belong in the classpath, often in WEB-INF/classes.

2009-08-04 Thread Sudhanshu Umalkar Umalkar
Have you included Axis jar in the classpath or is it available under
/WEB-INF/lib folder?
 
Regards,
Sudhanshu

  _  

From: Claire Loto [mailto:l...@taosolutions.biz] 
Sent: Tuesday, August 04, 2009 1:19 PM
To: axis-user@ws.apache.org
Subject: AXIS2 ERROR: 'org.apache.axis2.transport.http.AxisServlet', is not
a known servlet.Servlets belong in the classpath, often in WEB-INF/classes.


Hello everyone, 
I am trying embed axis2 on my existing application. All the classes have
been created using wsdl2java tool of axis2. i was able to successfully
create an .aar file. I am using Resin 3.1.3 for my server and Axis2 v1.4. I
dropped the axis2.war at the webapp/ directory of resin. I modified my
web.xml to include the below lines of code: 

AxisServlet
Apache-Axis Servlet

org.apache.axis2.transport.http.AxisServlet

1



   AxisServlet
   /services/*

However, when I tried deploying the application, i got the below error: 

[15:48:09.875] WEB-INF/web.xml:80:
'org.apache.axis2.transport.http.AxisServlet'
 is not a known servlet.  Servlets belong in the classpath, often in
WEB-INF/classes.

Any idea how to resolve this issue? 

thanks, 
claire





Error invoking service through SOAP test tool - SOAP UI v3.0

2009-07-15 Thread Sudhanshu Umalkar Umalkar
Getting below given error while trying to invoke WS developed in Axis2, but
the same thing works when tested with JSP client. Any solution to resolve
this?
 
[7/15/09 0:29:48:318 PDT] 65828312 SystemOut O 276754 ERROR
[Servlet.Engine.Transports : 2]
com.cisco.framework.axis2.receivers.GenericInOutReceiver - Error
invoking the service [EngagementStatusService] , operation
[getEngagementStatus]
org.xml.sax.SAXParseException: unexpected root element (uri:"",
local:"EngagementStatusRequest"). Expected elements are
<{http://tools-dev.cisco.com/ktn/xsd}EngagementStatusResponse>,<{http://tool
s-dev.cisco.com/ktn/xsd}Error>,<{http://tools-dev.cisco.com/ktn/xsd}Engageme
ntStatusRequest>
at
com.cisco.is.ktnx.vws.model.status.impl.runtime.SAXUnmarshallerHandlerImpl.s
tartElement(SAXUnmarshallerHandlerImpl.java:113)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRoot
ElementHook(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.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 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at
com.cisco.is.ktnx.vws.model.status.impl.runtime.UnmarshallerImpl.unmarshal(U
nmarshallerImpl.java:140)
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshall
erImpl.java:131)
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshall
erImpl.java:178)
at
com.cisco.framework.axis2.databinding.JAXBDataBindingProcessor.fromOM(JAXBDa
taBindingProcessor.java:53)
at
com.cisco.framework.axis2.receivers.GenericInOutReceiver.invokeBusinessLogic
(GenericInOutReceiver.java:119)
at
com.cisco.framework.axis2.receivers.GenericInOutReceiver.invokeBusinessLogic
(GenericInOutReceiver.java:70)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageRe
ceiver.java:96)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HT
TPTransportUtils.java:275)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle
tInstance.java:110)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy
cleServlet.java:174)
at
com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServ
let.java:313)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc
leServlet.java:116)
at
com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java
:283)
at
com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSer
vletReferenceState.java:42)
at
com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIns
tanceReference.java:40)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.
java:76)
at com.netegrity.was511.filter.ServletFilter.doFilter(ServletFilter.java:54)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstance
Wrapper.java:132)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.
java:71)
at com.cisco.tools.filter.AccessLogFilter.doFilter(AccessLogFilter.java:114)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstance
Wrapper.java:132)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.
java:71)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(
WebAppRequestDispatcher.java:1027)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReques
tDispatcher.java:544)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequest
Dispatcher.java:210)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:139)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker
java:332)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(C
achedInvocation.java:71)
at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReq
uestProcessor.java:254)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListene
r.java:334)
at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.jav
a:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:65

Error in axis 2 in WAS 5

2009-07-07 Thread Sudhanshu Umalkar Umalkar
How to resolve following error?
 
[7/7/09 2:33:14:573 PDT] 31e948d7 WebGroup  E SRVE0026E: [Servlet
Error]-[/axis2-web/listSingleService.jsp]: javax.servlet.ServletException:
/axis2-web/listSingleService.jsp
at com.netegrity.was511.filter.ServletFilter.doFilter(ServletFilter.java:75)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstance
Wrapper.java:132)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.
java:71)
at com.cisco.tools.filter.AccessLogFilter.doFilter(AccessLogFilter.java:114)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstance
Wrapper.java:132)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.
java:71)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(
WebAppRequestDispatcher.java:1027)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReques
tDispatcher.java:544)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequest
Dispatcher.java:210)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:139)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker
java:332)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(C
achedInvocation.java:71)
at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReq
uestProcessor.java:254)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListene
r.java:334)
at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.jav
a:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:657)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:453)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:937)




Max size of request for web services

2009-06-16 Thread Sudhanshu Umalkar Umalkar
Hi

What is the max size of the request that can be submitted to a web
service? Can 50mb be submitted at one go?

Regards,
Sudhanshu



Sample code required for Axis 1.4

2009-06-08 Thread Sudhanshu Umalkar Umalkar
Need sample code of Axis 1.4 for this requirement: 

Provide an XML SOAP web service that receives an XML request and
delivers an XML response. 

Thanks & Regards,
Sud