[Axis2] Building axis-1.1.1 falis
Hi, I get the following error when trying to build the source dist of Axis2: BUILD FAILED File.. C:\devhome\axis2-1.1.1\src\etc\maven.xml Element... attainGoal Line.. 43 Column 41 The build cannot continue because of the following unsatisfied dependencies: commons-logging-1.0.3.jar; path override doesn't exist: C:\Documents and Setting s\ilshke\.maven\cache\maven-xdoc-plugin-1.8\..\..\lib\commons-logging-1. 1.jar xml-apis-1.0.b2.jar; path override doesn't exist: C:\Documents and Settings\ilsh ke\.maven\cache\maven-xdoc-plugin-1.8\..\..\lib\xml-apis-1.3.03.jar Any ideas? Thanks, Shahar Kedar Software AG Israel
RE: Unsubscribing
That's the easy and yet the improper way. I wanted to know if there's a more formal (and working) way. Shahar. From: biswadip saha [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 16, 2007 2:17 PM To: axis-user@ws.apache.org Subject: Re: Unsubscribing block axis-user@ws.apache.org On 1/16/07, Kedar, Shahar <[EMAIL PROTECTED]> wrote: Hi, I'm trying to unsubscribe from the mailing list, but when I try to confirm it I get an error that the address I'm trying to send it to does not exist. Any suggestion will be helpful. Thanks, Shahar -- ## Sr. Software Developer +919899566690 ## o o o o o o o . . . __ o _ ||| .][__n_n_|DD[ _ | | >(|__|_[_]_|| _/oo O oo` ooo ooo 'o!o!o o!o!o` -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Unsubscribing
Hi, I'm trying to unsubscribe from the mailing list, but when I try to confirm it I get an error that the address I'm trying to send it to does not exist. Any suggestion will be helpful. Thanks, Shahar
FW: Array within an array is translated into a 2-dimensional array
Does anyone have an answer??? Am I the only one with this problem? From: Kedar, Shahar [mailto:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 7:06 PM To: axis-user@ws.apache.org Subject: Array within an array is translated into a 2-dimensional array Hi, Could someone please explain to me why SOAP clients (such as .NET or Axis1) translate the "rows" element under the ConnInfoSet complexType into a 2-dimensional array of ConnInfoCell instead of generating a ConnInfoRow object? How can I prevent those clients of performing such translation? Regards, Shahar Kedar Software AG
Array within an array is translated into a 2-dimensional array
Hi, Could someone please explain to me why SOAP clients (such as .NET or Axis1) translate the "rows" element under the ConnInfoSet complexType into a 2-dimensional array of ConnInfoCell instead of generating a ConnInfoRow object? How can I prevent those clients of performing such translation? Regards, Shahar Kedar Software AG
FW: [Axis2] SOAP message is sent corrupted
The reason for the "corruption" was that I used chunked Transport-Encoding and the server I communicated with did not support HTTP/1.1. Shahar ____ From: Kedar, Shahar [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 29, 2006 8:07 PM To: axis-user@ws.apache.org Subject: [Axis2] SOAP message is sent corrupted Hi, I'm using Axis2 client API to dynamically invoke WS. I detected that when working against a remote computer (not localhost) the SOAP message is sent corrupted (I've monitored the communication). To be more specific, the size of the SOAP envelope (in Hex) is written to the HTTP request body just before the envelope and the latter is preceded by a 0. This is an example: 11a http://schemas.xmlsoap.org/soap/envelope/";>http://tempuri.org/ "> 42 0 Suspiciously enough, when the WS server is located on my computer, running the same SOAP request is successful. Did anyone encounter this kind of problem? Thanks, Shahar Kedar Software AG
[Axis2] SOAP message is sent corrupted
Hi, I'm using Axis2 client API to dynamically invoke WS. I detected that when working against a remote computer (not localhost) the SOAP message is sent corrupted (I've monitored the communication). To be more specific, the size of the SOAP envelope (in Hex) is written to the HTTP request body just before the envelope and the latter is preceded by a 0. This is an example: 11a http://schemas.xmlsoap.org/soap/envelope/";>http://tempuri.org/ "> 42 0 Suspiciously enough, when the WS server is located on my computer, running the same SOAP request is successful. Did anyone encounter this kind of problem? Thanks, Shahar Kedar Software AG
[Axis2] SoapAddress location
Hi, I'm supplying Axis2 with a "hard coded" WSDL file, and I was wondering why Axis2 doesn't update the SoapAddress location with the Axis2 machine's IP address. Thanks, Shahar.
[Axis2] Exception initialization
Hi, I've generated server side code using Axis2 and ADB databinding. In addition to the skeleton, message receiver and schema classes, Axis2 also generates exception and fault classes for each operation. My first question is - WHY?? OK... assuming that those exceptions are necessary, what is the role of the fault classes? And why do I have to initialize them with OMElement? Why can't each method throw and AxisFault that translates to a standard SOAP exception? Thanks, Shahar Kedar Software AG Israel
RE: FW: [Axis2] Transport out return null
Hi Deepal, Your solution solved my first problem, but not the second one. This means that after the change I still got the following error: Two services can not have same name, a service with ItemsGroupService already exists in the system. To solve this problem I'm using a HashMap to store any ServiceClient I create for a certain AxisService. Is there a more elegant solution? Thanks, Shahar Kedar -Original Message- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 12:21 PM To: axis-user@ws.apache.org Subject: Re: FW: [Axis2] Transport out return null Try to use the following; ServiceClient client = *new* ServiceClient(null,*new* URL(procedure.getExternalWsServiceWsdlUrl()),*new* QName(procedure.getExternalWebServiceNamespace(), procedure.getExternalWsServiceName()), procedure.getExternalWsServicePortName()); Thanks Deepal Kedar, Shahar wrote: > Update: I now understand the problem. Instead of passing an empty > configuration context, I should have passed null. > > Now I am facing a different problem. I'm receiving the following error > when trying to invoke a web service more than once: > > org.apache.axis2.AxisFault: Two services can not have same name, a > service with ItemsGroupService already exists in the system > > at > org.apache.axis2.client.ServiceClient.configureServiceClient(_ServiceCli ent.java:130_) > > at org.apache.axis2.client.ServiceClient.(_ServiceClient.java:174_) > > at > com.sabratec.applinx.server.core.extws.GXProcedureExternalWS.execute(_GX ProcedureExternalWS.java:212_) > > at > com.sabratec.applinx.server.core.GXProcedure.execute(_GXProcedure.java:8 3_) > > at > com.sabratec.applinx.server.runtime.servlet.GXAbstractExecuteWebService. service(_GXAbstractExecuteWebService.java:170_) > > at javax.servlet.http.HttpServlet.service(_HttpServlet.java:853_) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(_Applic ationFilterChain.java:252_) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(_ApplicationFil terChain.java:173_) > > at > org.apache.catalina.core.StandardWrapperValve.invoke(_StandardWrapperVal ve.java:213_) > > at > org.apache.catalina.core.StandardContextValve.invoke(_StandardContextVal ve.java:178_) > > at > org.apache.catalina.core.StandardHostValve.invoke(_StandardHostValve.jav a:126_) > > at > org.apache.catalina.valves.ErrorReportValve.invoke(_ErrorReportValve.jav a:105_) > > at > org.apache.catalina.core.StandardEngineValve.invoke(_StandardEngineValve .java:107_) > > at > org.apache.catalina.connector.CoyoteAdapter.service(_CoyoteAdapter.java: 148_) > > at > org.apache.coyote.http11.Http11Processor.process(_Http11Processor.java:8 69_) > > at > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc essConnection(_Http11BaseProtocol.java:664_) > > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(_PoolTcpEndpoin t.java:527_) > > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(_LeaderFollo werWorkerThread.java:80_) > > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(_ThreadPoo l.java:684_) > > at java.lang.Thread.run(_Thread.java:534_) > > Any ideas? > > Thanks, > > Shahar Kedar > > > > *From:* Kedar, Shahar [mailto:[EMAIL PROTECTED] > *Sent:* Thursday, November 16, 2006 11:58 AM > *To:* axis-user@ws.apache.org > *Subject:* [Axis2] Transport out return null > > Hi, > > I tried to invoke a web service using my Axis2 ServiceClient API, and > I kept getting a null pointer. > > So I decided to debug the source code and I found out that the > transportsOut HashMap in the AxisConfiguration class is empty. This > means that Axis2 could not really infer the transport out from the URL. > > This is the client side code I've written: > > String inputXml = serializeElement(input, procedure); > > OMElement payload = createPayload(inputXml); > > Options options = *new* Options(); > > options.setExceptionToBeThrownOnSOAPFault(*true*); > > options.setTo(*new* > EndpointReference(procedure.getExternalWsServiceUrl())); > > *try* { > > ServiceClient client = *new* > ServiceClient(ConfigurationContextFactory./createEmptyConfigurationConte xt/(),*new* > URL(procedure.getExternalWsServiceWsdlUrl()),*new* > QName(procedure.getExternalWebServiceNamespace(), > procedure.getExternalWsServiceName()), > procedure.getExternalWsServicePo
FW: [Axis2] Transport out return null
Update: I now understand the problem. Instead of passing an empty configuration context, I should have passed null. Now I am facing a different problem. I'm receiving the following error when trying to invoke a web service more than once: org.apache.axis2.AxisFault: Two services can not have same name, a service with ItemsGroupService already exists in the system at org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClie nt.java:130) at org.apache.axis2.client.ServiceClient.(ServiceClient.java:174) at com.sabratec.applinx.server.core.extws.GXProcedureExternalWS.execute(GXP rocedureExternalWS.java:212) at com.sabratec.applinx.server.core.GXProcedure.execute(GXProcedure.java:83 ) at com.sabratec.applinx.server.runtime.servlet.GXAbstractExecuteWebService. service(GXAbstractExecuteWebService.java:170) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1 48) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86 9) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc essConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint .java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow erWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:684) at java.lang.Thread.run(Thread.java:534) Any ideas? Thanks, Shahar Kedar From: Kedar, Shahar [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 11:58 AM To: axis-user@ws.apache.org Subject: [Axis2] Transport out return null Hi, I tried to invoke a web service using my Axis2 ServiceClient API, and I kept getting a null pointer. So I decided to debug the source code and I found out that the transportsOut HashMap in the AxisConfiguration class is empty. This means that Axis2 could not really infer the transport out from the URL. This is the client side code I've written: String inputXml = serializeElement(input, procedure); OMElement payload = createPayload(inputXml); Options options = new Options(); options.setExceptionToBeThrownOnSOAPFault(true); options.setTo(new EndpointReference(procedure.getExternalWsServiceUrl())); try { ServiceClient client = new ServiceClient(ConfigurationContextFactory.createEmptyConfigurationContex t(),new URL(procedure.getExternalWsServiceWsdlUrl()),new QName(procedure.getExternalWebServiceNamespace(), procedure.getExternalWsServiceName()), procedure.getExternalWsServicePortName()); client.setOptions(options); OMElement response = client.sendReceive(new QName(procedure.getExternalWebServiceNamespace(), procedure.getName()), payload); } catch (Exception ex) { ex.printStackTrace(); } I'm not sure if this is a bug or simply a misusage of the API. Thanks, Shahar Kedar
[Axis2] Transport out return null
Hi, I tried to invoke a web service using my Axis2 ServiceClient API, and I kept getting a null pointer. So I decided to debug the source code and I found out that the transportsOut HashMap in the AxisConfiguration class is empty. This means that Axis2 could not really infer the transport out from the URL. This is the client side code I've written: String inputXml = serializeElement(input, procedure); OMElement payload = createPayload(inputXml); Options options = new Options(); options.setExceptionToBeThrownOnSOAPFault(true); options.setTo(new EndpointReference(procedure.getExternalWsServiceUrl())); try { ServiceClient client = new ServiceClient(ConfigurationContextFactory.createEmptyConfigurationContex t(),new URL(procedure.getExternalWsServiceWsdlUrl()),new QName(procedure.getExternalWebServiceNamespace(), procedure.getExternalWsServiceName()), procedure.getExternalWsServicePortName()); client.setOptions(options); OMElement response = client.sendReceive(new QName(procedure.getExternalWebServiceNamespace(), procedure.getName()), payload); } catch (Exception ex) { ex.printStackTrace(); } I'm not sure if this is a bug or simply a misusage of the API. Thanks, Shahar Kedar
RE: [Axis2] Compiling the source code of Axis2
Thanks -Original Message- From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 15, 2006 1:20 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] Compiling the source code of Axis2 You can try "maven create-lib".. It'll put all the jars in to the target/lib.. ~Thilina On 11/15/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > Where can I get all the JARs required for compiling all Axis2 modules? I was > hoping the after running Maven, I will have all the jars downloaded to some > directory, but if they did, I can't find them now. > > > > Thanks, > > Shahar Kedar -- http://webservices.apache.org/~thilina/ http://thilinag.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis2] Compiling the source code of Axis2
Hi, Where can I get all the JARs required for compiling all Axis2 modules? I was hoping the after running Maven, I will have all the jars downloaded to some directory, but if they did, I can't find them now. Thanks, Shahar Kedar
RE: [Axis2] JIRA AXIS2-1580 -RPCMessageReceiver returns a subelement that doesn't conform to the WSDL
Hi Dims, I'm not sure I understand. Let's say I have a certain Java class, and I want it to act as a web service. I let Axis2 generate a WSDL or write my own WSDL in accordance to the Java class. So, in my case I do not generate code using the WSDL to create the service but the other way around. What do I do from here? Why can't I use the RPCMessageReceiver in this case? Thanks, Shahar Kedar -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 5:19 PM To: Kedar, Shahar Cc: axis-user@ws.apache.org Subject: Re: [Axis2] JIRA AXIS2-1580 -RPCMessageReceiver returns a subelement that doesn't conform to the WSDL You should use ADB on the server-side. RPCMessageReceiver is not used when you generate code using wsdl to create the service. -- dims On 11/9/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > Hi Dims, > > I'm not sure how this workaround will help as I am currently using > WSDL2Java and ADB. > > Shahar > > -Original Message- > From: Davanum Srinivas [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 09, 2006 3:21 PM > To: axis-user@ws.apache.org > Subject: Re: [Axis2] JIRA AXIS2-1580 -RPCMessageReceiver returns a > subelement that doesn't conform to the WSDL > > Shahar, > > we deferred AXIS2-1606 and hence will defer this as well. Solution for > now is to please use WSDL2Java and use ADB generated code (or any > other data binding). We will deal with this issue immediately after > 1.1 release. > > thanks, > dims > > On 11/9/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hi, > > > > > > > > Will this issue be resolved soon? If I can't change the WSDL and > change > > elements' names then I cannot provide a robust API through my web > services. > > > > > > > > Thanks and regards, > > > > Shahar Kedar > > > > > > > -- > Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service > Developers) > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Axis2] JIRA AXIS2-1580 -RPCMessageReceiver returns a subelement that doesn't conform to the WSDL
Hi Dims, When is the 1.1 release scheduled to be formally released? Thanks, Shahar -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 3:21 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] JIRA AXIS2-1580 -RPCMessageReceiver returns a subelement that doesn't conform to the WSDL Shahar, we deferred AXIS2-1606 and hence will defer this as well. Solution for now is to please use WSDL2Java and use ADB generated code (or any other data binding). We will deal with this issue immediately after 1.1 release. thanks, dims On 11/9/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > Will this issue be resolved soon? If I can't change the WSDL and change > elements' names then I cannot provide a robust API through my web services. > > > > Thanks and regards, > > Shahar Kedar > > -- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Axis2] JIRA AXIS2-1580 -RPCMessageReceiver returns a subelement that doesn't conform to the WSDL
Hi Dims, I'm not sure how this workaround will help as I am currently using WSDL2Java and ADB. Shahar -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 3:21 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] JIRA AXIS2-1580 -RPCMessageReceiver returns a subelement that doesn't conform to the WSDL Shahar, we deferred AXIS2-1606 and hence will defer this as well. Solution for now is to please use WSDL2Java and use ADB generated code (or any other data binding). We will deal with this issue immediately after 1.1 release. thanks, dims On 11/9/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > Will this issue be resolved soon? If I can't change the WSDL and change > elements' names then I cannot provide a robust API through my web services. > > > > Thanks and regards, > > Shahar Kedar > > -- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FW: Schema question
Thanks! -Original Message- From: Bhatra, Junaid [mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2006 8:07 PM To: axis-user@ws.apache.org Subject: RE: FW: Schema question Yes, like Jeff said, you reference an element using "ref" attribute and you reference a type (simple/complex) using "type" attribute, so there is no ambiguity as far as schema parsers are concerned. You can define global elements, types (simple/complex), attributes and groups in a schema. Each one of these categories is in its own domain (or namespace, for lack of a better terminology). So you can use the same name for an element, type, attribute or group. Simple & Complex types share the same domain, so you cannot simultaneously use the same name for a simpleType and complexType. - Junaid -Original Message- From: Jeff Greif [mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2006 9:46 AM To: axis-user@ws.apache.org Subject: Re: FW: Schema question A complex type is referenced in schemas using type="ns:my-type-name" where ns is a prefix bound to the namespace in which the type is designed. A type and an element may have the same name. It is not possible, I think, for an ambiguity to arise within the XML Schema system itself, or in many of the specs which use it, such as WSDL. You can also have attributes and elements with the same name. However, if you invent an arbitrary attribute that can hold any qualified name, such as global-attribute-element-or-type-name="ns:some-name" you'll need some other attribute or element to hold information resolving the ambiguity. The schema parser is not involved in handling this, however. The application must deal with this ambiguity. Jeff Kedar, Shahar wrote: > Ann, > > To add to my questions below, how can a schema parser distinguish > between a reference to an {element} and to a {complexType} if they have > the same name? > > Thanks, > Shahar > > -Original Message- > From: Kedar, Shahar [mailto:[EMAIL PROTECTED] > Sent: Monday, October 16, 2006 2:30 PM > To: axis-user@ws.apache.org > Subject: RE: Schema question > > Hi Ann, > > Thanks for the quick answer. Another question: > The {ref} attribute is used only to refer to a global {element}? Can it > be used to refer to a {complexType}? If so, then is it possible to > define an {element} and a {complexType} with the same name? > > Thanks, > Shahar. > > -Original Message- > From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] > Sent: Monday, October 16, 2006 1:25 PM > To: axis-user@ws.apache.org > Subject: Re: Schema question > > You may define a particular element only once in a schema, so if the > element is used in multiple places, you must define it as a global and > reference it from the various types that use it. (Only global elements > can be referenced.) Or perhaps you want to allow the element to be > used both as a root element and as a child element in another element. > > Here's an example: > > > > > > > > > > > Anne > > > On 10/15/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > >> >> >> Hi, >> >> >> >> Can someone explain to me when and where the {ref} attribute should be >> > used > >> inside an XML schema? Also, is it valid for an {element} to refer to a >> different {element} and not a {type}? >> >> >> >> Thanks, >> >> Shahar. >> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis2] JIRA AXIS2-1580 -RPCMessageReceiver returns a subelement that doesn't conform to the WSDL
Hi, Will this issue be resolved soon? If I can't change the WSDL and change elements' names then I cannot provide a robust API through my web services. Thanks and regards, Shahar Kedar
RE: FW: [Axis2] Incoming message input stream is null when usingRPCInOnlyMessageReceiver
Hi Sanka, The problem was not completely resolved. I've updated the JIRA. Shahar. -Original Message- From: Sanka Samaranayke [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:51 AM To: axis-user@ws.apache.org Subject: Re: FW: [Axis2] Incoming message input stream is null when usingRPCInOnlyMessageReceiver -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kedar, Shahar wrote: > Hi, > > I've noticed that no one is assigned to this JIRA. I see it as a > rather big bug. I've uploaded all the information needed for > reproduction of the bug. Could someone please take a look? There was a minor error in the services.xml (Please see the comments on this issue). Sanka > > Thanks, Shahar. > > -Original Message- From: Kedar, Shahar > [mailto:[EMAIL PROTECTED] Sent: Thursday, November 02, > 2006 12:28 PM To: axis-user@ws.apache.org Cc: [EMAIL PROTECTED] > Subject: RE: [Axis2] Incoming message input stream is null when > using RPCInOnlyMessageReceiver > > Opened a JIRA - AXIS2-1574. > > -Original Message- From: Deepal Jayasinghe > [mailto:[EMAIL PROTECTED] Sent: Friday, October 27, 2006 6:26 > AM To: axis-user@ws.apache.org Subject: Re: [Axis2] Incoming > message input stream is null when using RPCInOnlyMessageReceiver > > Hi Kedar; Can you please send me your service aar file or provide > way to re-generate the issue. Its better if you can create a JIRA > attaching the service aar file. > > Thanks Deepal > >> I'm using the RPCInOnlyMessageReceiver for one of my web methods, >> and I keep getting the following exception: >> >> org.apache.axis2.AxisFault: Incoming message input stream is null >> >> >> at >> > org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUti > ls.java:64) >> at >> > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper > ation.java:367) >> at >> > org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO > peration.java:281) >> at >> > org.apache.ws.axis2.ServiceManagerStub.cancelConnection(ServiceManagerSt > ub.java:745) >> at >> > org.apache.ws.axis2.ServiceManagerTest.testcancelConnection(ServiceManag > erTest.java:143) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> >> at >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav > a:39) >> at >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > Impl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:324) >> >> at junit.framework.TestCase.runTest(TestCase.java:154) >> >> at junit.framework.TestCase.runBare(TestCase.java:127) >> >> at junit.framework.TestResult$1.protect(TestResult.java:106) >> >> at junit.framework.TestResult.runProtected(TestResult.java:124) >> >> at junit.framework.TestResult.run(TestResult.java:109) >> >> at junit.framework.TestCase.run(TestCase.java:118) >> >> at junit.framework.TestSuite.runTest(TestSuite.java:208) >> >> at junit.framework.TestSuite.run(TestSuite.java:203) >> >> at >> > org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUn > it3TestReference.java:128) >> at >> > org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.ja > va:38) >> at >> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe > stRunner.java:460) >> at >> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe > stRunner.java:673) >> at >> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRun > ner.java:386) >> at >> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRu > nner.java:196 >> The Axis2 version is 1.1 RC1. I cannot use the nightly build >> because of other problems I'm having there. However, if this is a >> know problem that was solved I will try to move to a newer >> version. >> >> BTW - Is there a date for the next Axis2 release? >> >> Thanks, >> >> Shahar Kedar >> > - -- Sanka Samaranayake WSO2 Inc. T:+94-77-3506382 F:+94-11-2424304 http://sankas.blogspot.com/ http://www.wso2.net/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFFUB68/Hd0ETKdgNIRAuhYAJ9vOW/K3XO+zFDcvFNM/mmXP9rqnwCgk93w Jl/JiD1mNmIm0gclrecnlrY= =uBtZ -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Axis2] Complex objects when using RPCMessageReceiver
Hi Dims, I think that the problem was that I didn't specify the MEP for the operation in the services.xml file. Shahar. -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Thursday, November 02, 2006 6:29 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] Complex objects when using RPCMessageReceiver Please open a JIRA bug and upload your sources and aar. thanks, dims On 11/2/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > Is there a limit to the complexity of the objects I'm passing on the wire > when using the RPCMessageReceiver. I'm asking because I'm getting a null > pointer when passing a rather complex object to one of my operations. I > guess there was some kind of problem in the serialization on the server > side. > > > > Thanks, > > Shahar Kedar -- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: [Axis2] Incoming message input stream is null when using RPCInOnlyMessageReceiver
Hi, I've noticed that no one is assigned to this JIRA. I see it as a rather big bug. I've uploaded all the information needed for reproduction of the bug. Could someone please take a look? Thanks, Shahar. -Original Message----- From: Kedar, Shahar [mailto:[EMAIL PROTECTED] Sent: Thursday, November 02, 2006 12:28 PM To: axis-user@ws.apache.org Cc: [EMAIL PROTECTED] Subject: RE: [Axis2] Incoming message input stream is null when using RPCInOnlyMessageReceiver Opened a JIRA - AXIS2-1574. -Original Message- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: Friday, October 27, 2006 6:26 AM To: axis-user@ws.apache.org Subject: Re: [Axis2] Incoming message input stream is null when using RPCInOnlyMessageReceiver Hi Kedar; Can you please send me your service aar file or provide way to re-generate the issue. Its better if you can create a JIRA attaching the service aar file. Thanks Deepal > I'm using the RPCInOnlyMessageReceiver for one of my web methods, and > I keep getting the following exception: > > org.apache.axis2.AxisFault: Incoming message input stream is null > > at > org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUti ls.java:64) > > at > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper ation.java:367) > > at > org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO peration.java:281) > > at > org.apache.ws.axis2.ServiceManagerStub.cancelConnection(ServiceManagerSt ub.java:745) > > at > org.apache.ws.axis2.ServiceManagerTest.testcancelConnection(ServiceManag erTest.java:143) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > at junit.framework.TestCase.runTest(TestCase.java:154) > > at junit.framework.TestCase.runBare(TestCase.java:127) > > at junit.framework.TestResult$1.protect(TestResult.java:106) > > at junit.framework.TestResult.runProtected(TestResult.java:124) > > at junit.framework.TestResult.run(TestResult.java:109) > > at junit.framework.TestCase.run(TestCase.java:118) > > at junit.framework.TestSuite.runTest(TestSuite.java:208) > > at junit.framework.TestSuite.run(TestSuite.java:203) > > at > org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUn it3TestReference.java:128) > > at > org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.ja va:38) > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe stRunner.java:460) > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe stRunner.java:673) > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRun ner.java:386) > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRu nner.java:196 > > The Axis2 version is 1.1 RC1. I cannot use the nightly build because > of other problems I'm having there. However, if this is a know problem > that was solved I will try to move to a newer version. > > BTW - Is there a date for the next Axis2 release? > > Thanks, > > Shahar Kedar > -- Thanks, Deepal ~Future is Open~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis2] major problem with the new RC-2 release
Hi, I've opened a JIRA (AXIS2-1586). I'd appreciate a quick response because my project is totally stuck due to this problem. Thanks and Regards, Shahar Kedar
[Axis2] Complex objects when using RPCMessageReceiver
Hi, Is there a limit to the complexity of the objects I'm passing on the wire when using the RPCMessageReceiver. I'm asking because I'm getting a null pointer when passing a rather complex object to one of my operations. I guess there was some kind of problem in the serialization on the server side. Thanks, Shahar Kedar
RE: [Axis2] Incoming message input stream is null when using RPCInOnlyMessageReceiver
Opened a JIRA - AXIS2-1574. -Original Message- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: Friday, October 27, 2006 6:26 AM To: axis-user@ws.apache.org Subject: Re: [Axis2] Incoming message input stream is null when using RPCInOnlyMessageReceiver Hi Kedar; Can you please send me your service aar file or provide way to re-generate the issue. Its better if you can create a JIRA attaching the service aar file. Thanks Deepal > I'm using the RPCInOnlyMessageReceiver for one of my web methods, and > I keep getting the following exception: > > org.apache.axis2.AxisFault: Incoming message input stream is null > > at > org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUti ls.java:64) > > at > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper ation.java:367) > > at > org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO peration.java:281) > > at > org.apache.ws.axis2.ServiceManagerStub.cancelConnection(ServiceManagerSt ub.java:745) > > at > org.apache.ws.axis2.ServiceManagerTest.testcancelConnection(ServiceManag erTest.java:143) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > at junit.framework.TestCase.runTest(TestCase.java:154) > > at junit.framework.TestCase.runBare(TestCase.java:127) > > at junit.framework.TestResult$1.protect(TestResult.java:106) > > at junit.framework.TestResult.runProtected(TestResult.java:124) > > at junit.framework.TestResult.run(TestResult.java:109) > > at junit.framework.TestCase.run(TestCase.java:118) > > at junit.framework.TestSuite.runTest(TestSuite.java:208) > > at junit.framework.TestSuite.run(TestSuite.java:203) > > at > org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUn it3TestReference.java:128) > > at > org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.ja va:38) > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe stRunner.java:460) > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe stRunner.java:673) > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRun ner.java:386) > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRu nner.java:196 > > The Axis2 version is 1.1 RC1. I cannot use the nightly build because > of other problems I'm having there. However, if this is a know problem > that was solved I will try to move to a newer version. > > BTW - Is there a date for the next Axis2 release? > > Thanks, > > Shahar Kedar > -- Thanks, Deepal ~Future is Open~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Axis2] Axis 2 1.1 RC
Hi, Will it be incorrect to assume that RC-2 is available somewhere? Thanks, Shahar -Original Message- From: Eran Chinthaka [mailto:[EMAIL PROTECTED] Sent: Saturday, October 28, 2006 12:20 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] Axis 2 1.1 RC There is nothing left for you to do. Just cut the RC. Thilina Gunarathne wrote: > Hi all, > Expect RC-2 on or before Monday... > I'm back and currently working towards it... > > Thanks, > Thilina > > On 10/28/06, Eran Chinthaka <[EMAIL PROTECTED]> wrote: >> Hi Kedar, >> >> Nightly can also be considered as RCs but we did RC1 and RC2 will be out >> soon. If you want to help us testing, please move to RC2 when it was >> released. >> >> Thilina, any updates on RC2? >> >> >> -- Chinthaka >> >> Michele Mazzucco wrote: >> > http://ws.zones.apache.org/dist/axis2/nightly/ >> > >> > Kedar, Shahar wrote: >> >> Hi, >> >> >> >> >> >> >> >> Where can I get the latest RC (jars and source code) for Axis2 1.1? >> >> >> >> >> >> >> >> Thanks, >> >> >> >> Shahar >> >> >> > >> > - >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> >> >> >> >> > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Axis2] empty arrays are not parsed correctly by Axis client
Hi Dims, I've opened a JIRA issue: AXIS2-1519. Thanks, Shahar -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 7:14 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] empty arrays are not parsed correctly by Axis client Kedar, We'd need the soap request and response and the wsdl/schemas. Please create a new JIRA issue and upload them. thanks, dims On 10/26/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > My webservice sometimes returns an empty array of some object (which is > properly declared in the WSDL). In those cases, the Axis2 generated client > fails to parse to SOAP message. I'm getting the following error message: > > > > java.lang.RuntimeException: java.lang.RuntimeException: Unexpected > subelement getServiceSessionsResponse > > at > org.apache.ws.axis2.SessionManagerStub.fromOM(SessionManagerStub.java:81 76) > > at > org.apache.ws.axis2.SessionManagerStub.getServiceSessions(SessionManager Stub.java:269) > > at > org.apache.ws.axis2.SessionManagerTest.testgetServiceSessions(SessionMan agerTest.java:33) > > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > at > junit.framework.TestCase.runTest(TestCase.java:154) > > at > junit.framework.TestCase.runBare(TestCase.java:127) > > at > junit.framework.TestResult$1.protect(TestResult.java:106) > > at > junit.framework.TestResult.runProtected(TestResult.java:124) > > at junit.framework.TestResult.run(TestResult.java:109) > > at junit.framework.TestCase.run(TestCase.java:118) > > at > junit.framework.TestSuite.runTest(TestSuite.java:208) > > at junit.framework.TestSuite.run(TestSuite.java:203) > > at > org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUn it3TestReference.java:128) > > at > org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.ja va:38) > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe stRunner.java:460) > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe stRunner.java:673) > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRun ner.java:386) > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRu nner.java:196) > > Caused by: java.lang.RuntimeException: Unexpected subelement > getServiceSessionsResponse > > at > org.apache.ws.axis2.SessionManagerStub$GetServiceSessionsResponse$Factor y.parse(SessionManagerStub.java:4937) > > at > org.apache.ws.axis2.SessionManagerStub.fromOM(SessionManagerStub.java:80 86) > > ... 20 more > > > > Is this a bug? Doesn't Axis2 know how to handle empty arrays? > > > > Thanks, > > Shahar Kedar > > > > -- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis2] Incoming message input stream is null when using RPCInOnlyMessageReceiver
Hi, I'm using the RPCInOnlyMessageReceiver for one of my web methods, and I keep getting the following exception: org.apache.axis2.AxisFault: Incoming message input stream is null at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:64) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:367) at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:281) at org.apache.ws.axis2.ServiceManagerStub.cancelConnection(ServiceManagerStub.java:745) at org.apache.ws.axis2.ServiceManagerTest.testcancelConnection(ServiceManagerTest.java:143) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196 The Axis2 version is 1.1 RC1. I cannot use the nightly build because of other problems I'm having there. However, if this is a know problem that was solved I will try to move to a newer version. BTW – Is there a date for the next Axis2 release? Thanks, Shahar Kedar
[Axis2] empty arrays are not parsed correctly by Axis client
Hi, My webservice sometimes returns an empty array of some object (which is properly declared in the WSDL). In those cases, the Axis2 generated client fails to parse to SOAP message. I'm getting the following error message: java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement getServiceSessionsResponse at org.apache.ws.axis2.SessionManagerStub.fromOM(SessionManagerStub.java:8176) at org.apache.ws.axis2.SessionManagerStub.getServiceSessions(SessionManagerStub.java:269) at org.apache.ws.axis2.SessionManagerTest.testgetServiceSessions(SessionManagerTest.java:33) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: java.lang.RuntimeException: Unexpected subelement getServiceSessionsResponse at org.apache.ws.axis2.SessionManagerStub$GetServiceSessionsResponse$Factory.parse(SessionManagerStub.java:4937) at org.apache.ws.axis2.SessionManagerStub.fromOM(SessionManagerStub.java:8086) ... 20 more Is this a bug? Doesn't Axis2 know how to handle empty arrays? Thanks, Shahar Kedar
[Axis2] Axis 2 1.1 RC
Hi, Where can I get the latest RC (jars and source code) for Axis2 1.1? Thanks, Shahar
[WSDL4J] SOAP binding type
Hi, I wanted to send this question to WSDL4J's mailing list, but apparently there is no such thing. So I decided to try my luck with the Axis list. Is it possible to get via WSDL4J the binding method (1.1, 1.2, http) for a certain port? Is there any other way I can retrieve the binding without WSDL4J? Thanks, Shahar Kedar
FW: Schema question
Ann, To add to my questions below, how can a schema parser distinguish between a reference to an {element} and to a {complexType} if they have the same name? Thanks, Shahar -Original Message- From: Kedar, Shahar [mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2006 2:30 PM To: axis-user@ws.apache.org Subject: RE: Schema question Hi Ann, Thanks for the quick answer. Another question: The {ref} attribute is used only to refer to a global {element}? Can it be used to refer to a {complexType}? If so, then is it possible to define an {element} and a {complexType} with the same name? Thanks, Shahar. -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2006 1:25 PM To: axis-user@ws.apache.org Subject: Re: Schema question You may define a particular element only once in a schema, so if the element is used in multiple places, you must define it as a global and reference it from the various types that use it. (Only global elements can be referenced.) Or perhaps you want to allow the element to be used both as a root element and as a child element in another element. Here's an example: Anne On 10/15/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > Can someone explain to me when and where the {ref} attribute should be used > inside an XML schema? Also, is it valid for an {element} to refer to a > different {element} and not a {type}? > > > > Thanks, > > Shahar. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Schema question
Hi Ann, Thanks for the quick answer. Another question: The {ref} attribute is used only to refer to a global {element}? Can it be used to refer to a {complexType}? If so, then is it possible to define an {element} and a {complexType} with the same name? Thanks, Shahar. -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2006 1:25 PM To: axis-user@ws.apache.org Subject: Re: Schema question You may define a particular element only once in a schema, so if the element is used in multiple places, you must define it as a global and reference it from the various types that use it. (Only global elements can be referenced.) Or perhaps you want to allow the element to be used both as a root element and as a child element in another element. Here's an example: Anne On 10/15/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > Can someone explain to me when and where the {ref} attribute should be used > inside an XML schema? Also, is it valid for an {element} to refer to a > different {element} and not a {type}? > > > > Thanks, > > Shahar. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Schema question
Hi, Can someone explain to me when and where the {ref} attribute should be used inside an XML schema? Also, is it valid for an {element} to refer to a different {element} and not a {type}? Thanks, Shahar.
FW: [Axis2] ADB properties file location
Anyone??? I'm really stuck on this one! - Shahar From: Kedar, Shahar [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 11, 2006 2:52 PM To: axis-user@ws.apache.org Subject: [Axis2] ADB properties file location Hi, Where can I put a custom properties file for the ADB framework? What should be the value of org.apache.adb.properties in each case? Thanks, Shahar Kedar
RE: [Axis2] RPCMessageReceiver is missing
Thanks Thilina for the update. -Original Message- From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 11, 2006 11:36 AM To: axis-user@ws.apache.org Subject: Re: [Axis2] RPCMessageReceiver is missing Just now we moved it to the ADB... So here after it'll be included in the minimal distro... ~Thilina On 10/11/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > Thanks Chinthaka, > > I found the JAR in the normal distribution. Why is not included in the > minimal distribution?? > > Thanks, > Shahar Kedar > > -Original Message- > From: Eran Chinthaka [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 10, 2006 1:16 PM > To: axis-user@ws.apache.org > Subject: Re: [Axis2] RPCMessageReceiver is missing > > Kedar, Shahar wrote: > > > > > I'm using the latest nightly, and I was surprised to find that > > RPCMessageReceiver no longer exists!! Was it finally decided NOT to > > support RPCMessage (only raw xml)? > > Which distribution are you talking about here? > > If it is the std distro, then it should be within the > axis2-codegen-1.1.jar, as Dims mentioned. > > -- Chinthaka > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://webservices.apache.org/~thilina/ http://thilinag.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis2] ADB properties file location
Hi, Where can I put a custom properties file for the ADB framework? What should be the value of org.apache.adb.properties in each case? Thanks, Shahar Kedar
RE: [Axis2] RPCMessageReceiver is missing
Thanks Chinthaka, I found the JAR in the normal distribution. Why is not included in the minimal distribution?? Thanks, Shahar Kedar -Original Message- From: Eran Chinthaka [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 1:16 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] RPCMessageReceiver is missing Kedar, Shahar wrote: > > I'm using the latest nightly, and I was surprised to find that > RPCMessageReceiver no longer exists!! Was it finally decided NOT to > support RPCMessage (only raw xml)? Which distribution are you talking about here? If it is the std distro, then it should be within the axis2-codegen-1.1.jar, as Dims mentioned. -- Chinthaka - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Axis2] List of neceessary jars
Thanks Robert, Shahar. -Original Message- From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: Monday, October 09, 2006 4:03 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] List of neceessary jars Try the min distro: http://people.apache.org/dist/axis2/nightly/axis2-min-1.1-SNAPSHOT-bin.z ip HTH, Robert On 10/9/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > The standard distribution comes with lots of jars, and I was wondering if > there's a list somewhere of the "must have" jars for standard usage of Axis > (for example, I do not need to support Spring or to generate client code). > > I'm embedding Axis2 in another product and would like to minimize the number > of jars. > > > > Thanks, > > Shahar Kedar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis2] List of neceessary jars
Hi, The standard distribution comes with lots of jars, and I was wondering if there's a list somewhere of the "must have" jars for standard usage of Axis (for example, I do not need to support Spring or to generate client code). I'm embedding Axis2 in another product and would like to minimize the number of jars. Thanks, Shahar Kedar
[Axis2] ServiceClient fails to read WSDL
Hi, I'm getting the following exception when trying to initialize a new ServiceClient: org.apache.axis2.AxisFault: WSDLExceptionWSDLException (at /SOAP-ENV:Envelope): faultCode=INVALID_WSDL: Expected element '{http://schemas.xmlsoap.org/wsdl/}definitions'. My code is: ServiceClient client = new ServiceClient(ConfigurationContextFactory.createEmptyConfigurationContext(),new URL(procedure.getURL()),new QName("Complexlnput"), null); I've also attached the WSDL file. Please let me know if this is a bug, and I will open a JIRA. Thanks, Shahar Kedar ComplexInput.wsdl Description: ComplexInput.wsdl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Axis2] RPCMessageReceiver is missing
Hi Dims, What codegen jar? Is it part of the standard distribution? Thanks, Shahar Kedar -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Thursday, October 05, 2006 3:11 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] RPCMessageReceiver is missing see codegen jar. -- dims On 10/5/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > I'm using the latest nightly, and I was surprised to find that > RPCMessageReceiver no longer exists!! Was it finally decided NOT to support > RPCMessage (only raw xml)? > > > > Thanks, > > Shahar Kedar -- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis2] RPCMessageReceiver is missing
Hi, I'm using the latest nightly, and I was surprised to find that RPCMessageReceiver no longer exists!! Was it finally decided NOT to support RPCMessage (only raw xml)? Thanks, Shahar Kedar
FW: [Axis2] different servlet mapping for axis2
Hi, Can anyone comment on the issue below? Thanks, Shahar Kedar From: Kedar, Shahar [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 6:42 PM To: axis-user@ws.apache.org Subject: [Axis2] different servlet mapping for axis2 Hi, I'm using both Axis1 and Axis2 servlets under the sane Tomcat 5.5 server. I specified in the web.xml file of my web application the following servlet mappings: Axis2Servlet Apache-Axis Servlet org.apache.axis2.transport.http.AxisServlet 1 Axis2AdminServlet Apache-Axis AxisAdmin Servlet (REST) org.apache.axis2.transport.http.AxisAdminServlet AxisServlet org.apache.axis.transport.http.AxisServlet AxisServlet /services/* Axis2Servlet /axis2-services/* Axis2AdminServlet /axis2-admin/* This works great when I specify a specific service url in the browser as follows: For Axis1: http:services/?wsdl For Axis2: http:axis2-services/?wsdl However, when I start list my services through the Axis2 admin application (http:///>///axis2-admin/listService) I get the service URL for Axis1 and not Axis2. It is as if the axis2 admin does not consult the servlet mappings and simply assumes that the Axis2 servlet will be mapped to the default /services/* mapping. Is this a bug? Do I need to configure anything in addition to the servlet mappings? Thanks, Shahar Kedar
[Axis2] suuport in RPC encoded
Hi, Does Axis2 support RPC encoded web services? If it does, then does it support reading an RPC encoded WSDL file which is located under the META-INF directory? Thanks, Shahar Kedar
[Axis2] different servlet mapping for axis2
Hi, I'm using both Axis1 and Axis2 servlets under the sane Tomcat 5.5 server. I specified in the web.xml file of my web application the following servlet mappings: Axis2Servlet Apache-Axis Servlet org.apache.axis2.transport.http.AxisServlet 1 Axis2AdminServlet Apache-Axis AxisAdmin Servlet (REST) org.apache.axis2.transport.http.AxisAdminServlet AxisServlet org.apache.axis.transport.http.AxisServlet AxisServlet /services/* Axis2Servlet /axis2-services/* Axis2AdminServlet /axis2-admin/* This works great when I specify a specific service url in the browser as follows: For Axis1: http:services/?wsdl For Axis2: http:axis2-services/?wsdl However, when I start list my services through the Axis2 admin application (http:///>///axis2-admin/listService) I get the service URL for Axis1 and not Axis2. It is as if the axis2 admin does not consult the servlet mappings and simply assumes that the Axis2 servlet will be mapped to the default /services/* mapping. Is this a bug? Do I need to configure anything in addition to the servlet mappings? Thanks, Shahar Kedar
RE: [Axis2] Undeploying a web service
Thanks Dims, I've opened a JIRA. Shahar. -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Monday, September 25, 2006 4:24 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] Undeploying a web service Could you please try procexp (http://www.sysinternals.com/Utilities/ProcessExplorer.html) and see which files are locked? (and please open a JIRA with info in this email and the info about the locked files) thanks, dims On 9/25/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > > Hi Dims, > > Let me explain: > > I do not use .aar files but directories that are structured in the same > way (which is supported according to Axis2 documentation). So my > directory structure is: > > --- > | > | > > | > | > Services.xml > .wsdl > .wsdl > ..etc > > When I want to undeploy a service I simply remove it from the > services.xml file and delete its WSDL. > When I want to undeploy all the web services in the group I try to > delete the root directory ( folder). Most of the > times I fail to delete it. > > Thanks, > Shahar Kedar > > -Original Message- > From: Davanum Srinivas [mailto:[EMAIL PROTECTED] > Sent: Monday, September 25, 2006 3:29 PM > To: Kedar, Shahar > Cc: axis-user@ws.apache.org > Subject: Re: [Axis2] Undeploying a web service > > WSDL files??? i thought you are trying to remove .aar files... > > -- dims > > On 9/25/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > > Hi Dims, > > > > The locking problem was not solved. Axis2 still locks WSDL files. > > > > -Original Message- > > From: Davanum Srinivas [mailto:[EMAIL PROTECTED] > > Sent: Thursday, September 21, 2006 4:35 PM > > To: axis-user@ws.apache.org > > Subject: Re: [Axis2] Undeploying a web service > > > > Latest nightly should not have the locking problem. Can you please > > test and confirm? > > > > thanks, > > dims > > > > On 9/21/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > Hi All, > > > > > > > > > > > > Let say I want to undeploy a web service while Axis is running. What > > is the > > > best way of doing that? Is it simply deleting the service folder > > (structured > > > as an aar file)? The reason I'm asking is that sometimes when trying > > to > > > delete a folder or even a single file, I am denied by the operating > > system. > > > I presume that Axis2 needs to lock the folder (or aar file) once in > a > > while > > > when poling the repository for new or updated services, but it makes > > it very > > > difficult to undeploy service dynamically. > > > > > > > > > > > > Is there any other way of programmatically undeploying a web > service? > > > > > > > > > > > > Regards, > > > > > > Shahar Kedar > > > > > > > > > > > > -- > > Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service > > Developers) > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service > Developers) > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Axis2] Undeploying a web service
Hi Dims, Let me explain: I do not use .aar files but directories that are structured in the same way (which is supported according to Axis2 documentation). So my directory structure is: --- | | | | Services.xml .wsdl .wsdl ..etc When I want to undeploy a service I simply remove it from the services.xml file and delete its WSDL. When I want to undeploy all the web services in the group I try to delete the root directory ( folder). Most of the times I fail to delete it. Thanks, Shahar Kedar -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Monday, September 25, 2006 3:29 PM To: Kedar, Shahar Cc: axis-user@ws.apache.org Subject: Re: [Axis2] Undeploying a web service WSDL files??? i thought you are trying to remove .aar files... -- dims On 9/25/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > Hi Dims, > > The locking problem was not solved. Axis2 still locks WSDL files. > > -Original Message- > From: Davanum Srinivas [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 21, 2006 4:35 PM > To: axis-user@ws.apache.org > Subject: Re: [Axis2] Undeploying a web service > > Latest nightly should not have the locking problem. Can you please > test and confirm? > > thanks, > dims > > On 9/21/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hi All, > > > > > > > > Let say I want to undeploy a web service while Axis is running. What > is the > > best way of doing that? Is it simply deleting the service folder > (structured > > as an aar file)? The reason I'm asking is that sometimes when trying > to > > delete a folder or even a single file, I am denied by the operating > system. > > I presume that Axis2 needs to lock the folder (or aar file) once in a > while > > when poling the repository for new or updated services, but it makes > it very > > difficult to undeploy service dynamically. > > > > > > > > Is there any other way of programmatically undeploying a web service? > > > > > > > > Regards, > > > > Shahar Kedar > > > > > > > -- > Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service > Developers) > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Axis2] Undeploying a web service
Hi Dims, The locking problem was not solved. Axis2 still locks WSDL files. -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Thursday, September 21, 2006 4:35 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] Undeploying a web service Latest nightly should not have the locking problem. Can you please test and confirm? thanks, dims On 9/21/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > > > > > Hi All, > > > > Let say I want to undeploy a web service while Axis is running. What is the > best way of doing that? Is it simply deleting the service folder (structured > as an aar file)? The reason I'm asking is that sometimes when trying to > delete a folder or even a single file, I am denied by the operating system. > I presume that Axis2 needs to lock the folder (or aar file) once in a while > when poling the repository for new or updated services, but it makes it very > difficult to undeploy service dynamically. > > > > Is there any other way of programmatically undeploying a web service? > > > > Regards, > > Shahar Kedar > > -- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Axis2] Using 'type' attribute for the message part
Hi Anne, Thank you. Much appreciated. Shahar -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Thursday, September 21, 2006 8:27 AM To: axis-user@ws.apache.org Subject: Re: [Axis2] Using 'type' attribute for the message part Yes -- that is correct. If you are using document style, your message part MUST reference an element. Anne On 9/21/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: > Hi Anne, > > Does this mean that if I'm using the Doc style, and my operation has an > input of native type (let say integer), then I'm required to have an > element tag in the schema with @type xsd:integer, and in the message tag > have a wsdl:part tag with @element and not @type? > > Regards, > Shahar Kedar > > -Original Message- > From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 20, 2006 7:48 PM > To: axis-user@ws.apache.org > Subject: Re: [Axis2] Using 'type' attribute for the message part > > Brennan, > > The semantics of type vs element in is defined in the WS-I > Basic Profile, Section 4.4.1 [1]. > > You must use @type when using RPC style; you must use @element when > using document style. > > With document style, you specify the literal schema of the element > contained in the SOAP Body; therefore, the message may contain at most > one body part, and that part must reference an element definition. It > must not reference a type definition. > > With RPC style, you specify the types of the parameters that must be > passed in the SOAP Body, but not the literal schema. The message > definition must contain a part for each parameter, and those parts > must reference a type definition. At runtime, the SOAP engine is > responsible for dynamically constructing the element contained in the > SOAP Body as follows: > - It generates a wrapper element that has the same local name as the > operation, and which is qualified by the namespace specified in the > definition in the binding. This wrapper element has no > formally specified type or schema. > - It generates an accessor element for each parameter. The accessor > elements are non-qualified, and they get their local name from the > @name in the . The type of each accessor element is the > type specified in the WSDL part definition. > > For example, if you have: > > > > > > ... > > > >... > > > > ... > > > > The message on the wire would look like: > > > > some string > some string > > > > [1] > http://www.ws-i.org/Profiles/BasicProfile-1.1.html#Bindings_and_Parts > > On 9/18/06, Spies, Brennan <[EMAIL PROTECTED]> wrote: > > Yes, I am using the most recent nightly build. The input and output is > > Doc/literal... > > > > > > > > > transport="http://schemas.xmlsoap.org/soap/http"; /> > > > > > > > soapAction="urn:ejgallo:workflow:service:action/Action" /> > > > > > > > > > > > > > > > > > > > > > > I can file a bug (no problem) since it's clear the lack of a return > doc is a > > bug, but I also wanted to know what is meant when a 'type' is > specified in > > the WSDL, i.e., what SHOULD be the result of such a configuration in > terms of > > what is generated in the SOAP, and more specifically to Axis2, the > generated > > classes? > > > > Brennan > > > > -Original Message- > > From: Ajith Ranabahu [mailto:[EMAIL PROTECTED] > > Sent: Monday, September 18, 2006 11:42 AM > > To: axis-user@ws.apache.org; [EMAIL PROTECTED] > > Subject: Re: [Axis2] Using 'type' attribute for the message part > > > > Hi, > > What kind of binding do you have ? > > > > Ajith > > > > On 9/18/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > > > Are u using the nightly build? If so, please open a issue/bug. > > > > > > thanks, > > > dims > > > > > > On 9/18/06, Spies, Brennan <[EMAIL PROTECTED]> wrote: > > > > Axis devs, > > > > > > > > Got a question regarding the use of types for message parts rather > than > > > > elements...specifically, what are the semantics of it? Reading the > WSDL >
RE: [Axis2] Using 'type' attribute for the message part
Hi Anne, Does this mean that if I'm using the Doc style, and my operation has an input of native type (let say integer), then I'm required to have an element tag in the schema with @type xsd:integer, and in the message tag have a wsdl:part tag with @element and not @type? Regards, Shahar Kedar -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 7:48 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] Using 'type' attribute for the message part Brennan, The semantics of type vs element in is defined in the WS-I Basic Profile, Section 4.4.1 [1]. You must use @type when using RPC style; you must use @element when using document style. With document style, you specify the literal schema of the element contained in the SOAP Body; therefore, the message may contain at most one body part, and that part must reference an element definition. It must not reference a type definition. With RPC style, you specify the types of the parameters that must be passed in the SOAP Body, but not the literal schema. The message definition must contain a part for each parameter, and those parts must reference a type definition. At runtime, the SOAP engine is responsible for dynamically constructing the element contained in the SOAP Body as follows: - It generates a wrapper element that has the same local name as the operation, and which is qualified by the namespace specified in the definition in the binding. This wrapper element has no formally specified type or schema. - It generates an accessor element for each parameter. The accessor elements are non-qualified, and they get their local name from the @name in the . The type of each accessor element is the type specified in the WSDL part definition. For example, if you have: ... ... ... The message on the wire would look like: some string some string [1] http://www.ws-i.org/Profiles/BasicProfile-1.1.html#Bindings_and_Parts On 9/18/06, Spies, Brennan <[EMAIL PROTECTED]> wrote: > Yes, I am using the most recent nightly build. The input and output is > Doc/literal... > > > > transport="http://schemas.xmlsoap.org/soap/http"; /> > > > soapAction="urn:ejgallo:workflow:service:action/Action" /> > > > > > > > > > > > I can file a bug (no problem) since it's clear the lack of a return doc is a > bug, but I also wanted to know what is meant when a 'type' is specified in > the WSDL, i.e., what SHOULD be the result of such a configuration in terms of > what is generated in the SOAP, and more specifically to Axis2, the generated > classes? > > Brennan > > -Original Message- > From: Ajith Ranabahu [mailto:[EMAIL PROTECTED] > Sent: Monday, September 18, 2006 11:42 AM > To: axis-user@ws.apache.org; [EMAIL PROTECTED] > Subject: Re: [Axis2] Using 'type' attribute for the message part > > Hi, > What kind of binding do you have ? > > Ajith > > On 9/18/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > > Are u using the nightly build? If so, please open a issue/bug. > > > > thanks, > > dims > > > > On 9/18/06, Spies, Brennan <[EMAIL PROTECTED]> wrote: > > > Axis devs, > > > > > > Got a question regarding the use of types for message parts rather than > > > elements...specifically, what are the semantics of it? Reading the WSDL > spec > > > does not clarify this for me. > > > > > > For example, suppose you have an output message defined as > > > > > > > > > > > > > > > > > > Using the Axis code generator with XMLBeans databinding, the ResponseType > > > class will be generated, but there is no corresponding *Document class. > Also, > > > the methods in the generated code look more like an IN ONLY MEP rather > than > > > IN-OUT--i.e., the skeleton has no return value, hence no meaningful SOAP > > > response is generated. > > > > > > Brennan > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Ajith Ranabahu > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROT
[Axis2] Undeploying a web service
Hi All, Let say I want to undeploy a web service while Axis is running. What is the best way of doing that? Is it simply deleting the service folder (structured as an aar file)? The reason I'm asking is that sometimes when trying to delete a folder or even a single file, I am denied by the operating system. I presume that Axis2 needs to lock the folder (or aar file) once in a while when poling the repository for new or updated services, but it makes it very difficult to undeploy service dynamically. Is there any other way of programmatically undeploying a web service? Regards, Shahar Kedar
RE: [AXIS2] Issue with WSDL generated by AXIS2
Hi Deepal, I followed you instructions but still Axis 2.0 completely changes my WSDL, adding unnecessary bindings and changing message parts' names. This is the original WSDL: http://schemas.xmlsoap.org/wsdl/http/"; xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:tns="http://tempuri.org/"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; targetNamespace="http://tempuri.org/";> http://tempuri.org/";> http://schemas.xmlsoap.org/soap/http"/> http://tempuri.org/TestProc"/> And this is the same WSDL when accessed through the services list that Axis2 exposes: http://tempuri.org/"; xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; targetNamespace="http://tempuri.org/";> Test_TestGroup http://tempuri.org/";> http://www.w3.org/2006/05/addressing/wsdl"; message="tns:TestProcInput" wsaw:Action="http://tempuri.org/TestProc"; /> http://www.w3.org/2006/05/addressing/wsdl"; message="tns:TestProcOutput" wsaw:Action="http://tempuri.org/Test_TestGroupPortType/TestProcResponse"; /> http://schemas.xmlsoap.org/soap/http"; style="document" /> http://tempuri.org/TestProc"; style="document" /> http://schemas.xmlsoap.org/soap/http"; style="document" /> http://tempuri.org/TestProc"; style="document" /> http://10.62.20.126:2380/applinx/services/Test_TestGroup"; /> http://10.62.20.126:2380/applinx/services/Test_TestGroup"; /> http://10.62.20.126:2380/rest/Test_TestGroup"; /> Regards, Shahar Kedar -Original Message- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 7:33 AM To: axis-user@ws.apache.org Subject: Re: [AXIS2] Issue with WSDL generated by AXIS2 Hi Charak; >Hi , >Please look the following WSDL bindings. >Why does AXIS places axis2.war in SOAP end points, where as "rest" binding is >fine. This is happening if you deploy aar files on WebSphere. > >Can I enforce AXIS2 to not generate WSDL's and read only the WSDL which I >supply. > > > Yes , you can do that ; - First put your wsdl into meta-inf directory - Then add the following attribute into services.xml true >binding="ns:TestServiceSOAP11Binding"> >location="http://208.49.76.165:9080/axis2.war/services/TestService"/> > >− >binding="ns:TestServiceSOAP12Binding"> >location="http://208.49.76.165:9080/axis2.war/services/TestService"/> > >− >binding="ns:TestServiceHttpBinding"> >http://208.49.76.165:9080/rest/TestService"/> > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: AXIS": Problem deploying web service
Hi Thorsten, I encountered the same problem with one of the previous nightlies, but it seems to be fixed in the latest nightly. Regards, Shahar. -Original Message- From: Thorsten Kraus [mailto:[EMAIL PROTECTED] Sent: Saturday, September 09, 2006 1:48 PM To: axis-user@ws.apache.org Subject: AXIS": Problem deploying web service Hello, I am trying to deploy my first web service using AXIS2. But every time I start tomcat, the deploy mechanism fails. AXIS2 is not able to detect the services.xml file, although I placed it in the META-INF directory. Here is the structure of the HelloWorld.aar: HelloWorld |-META-INF |-services.xml |-testpackage |-HelloWorld.class Content of HelloWorld.java: //## package testpackage; public class HelloWorld { public String sayHello(String name) { return "Hello " + name; } } //## Content of services.xml: //## This is my first service, which says hello testpackage.HelloWorld //## The following error is displayed when starting tomcat: //## - Invalid service HelloWorld.aar due to services.xml not found for service 'C:\ Dokumente und Einstellungen\thorsten\Desktop\WWW\apache-tomcat-5.5.17\webapps\ax is2\WEB-INF\services\HelloWorld.aar'; nested exception is: org.apache.axis2.deployment.DeploymentException: services.xml not found for service 'C:\Dokumente und Einstellungen\thorsten\Desktop\WWW\apache-tomcat-5 .5.17\webapps\axis2\WEB-INF\services\HelloWorld.aar' //## Can anyone tell me what's going wrong? Regards, Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Axis2]How to deploy/undeploy service programmatically?
Thanks Eran. This is what I suspected. -Original Message- From: Eran Chinthaka [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 10:59 AM To: axis-user@ws.apache.org Subject: Re: [Axis2]How to deploy/undeploy service programmatically? Kedar, Shahar wrote: > Hi Eran, > > Is there any way of getting the Axis2 configuration without implementing > a service class or handler? The reason I'm asking is that according to > my understanding, both handlers and service implementations are only > invoked when sending a request to an already deployed service. But what > if I want to programmatically deploy\undeploy a web service without > invoking an already existing service? No, I don't think we can do that in Axis2. You have to have some piece of code some where to get this done. My suggestion is to use an administration service to do these kind of stuff. -- Chinthaka - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Axis2]How to deploy/undeploy service programmatically?
Hi Eran, Is there any way of getting the Axis2 configuration without implementing a service class or handler? The reason I'm asking is that according to my understanding, both handlers and service implementations are only invoked when sending a request to an already deployed service. But what if I want to programmatically deploy\undeploy a web service without invoking an already existing service? Thanks, Shahar Kedar Software AG Israel -Original Message- From: Santoso Nugroho [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 8:45 AM To: axis-user@ws.apache.org Subject: Re: [Axis2]How to deploy/undeploy service programmatically? Hi, Thanks for the answer, however how do I specify my wsdl so that axis2 can use my wsdl instead of using the generated wsdl? Thanks, santoso Eran Chinthaka wrote: > Santoso Nugroho wrote: > >> Hi, >> >> How to deploy a service programmatically given that I have the service >> class, services.xml and the WSDL? >> The problem I have is that I must be able to create and deploy the >> service during runtime and the information (i.e. service name and the >> WSDL) only availables at runtime. >> > > > > AxisService myService = > org.apache.axis2.util.Utils.createSimpleService(serviceName, > new RawXMLINOutMessageReceiver(), > MyService.class.getName(), > operationName); > // The above is to deploy a service with an IN-OUT operation. Change the > // message receiver accordingly. > > getConfigurationContext().getAxisConfiguration().addService( > service); > > BTW, from where do you wanna do this? Inside a handler, service. > If (insideHandler) > // get access to the config context thru the message context passed in > > else if (insideServiceImplClass) > // get access to config context through the message context passed in > thru message context injection (refer http://www.wso2.net/kb/106 or > implement Service interface to your service class ) > > -- Chinthaka > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis2] Type mappings in Axis2
Hi, In Axis 1.0 one could define a typeMapping tag in the server-config.wsdd to map certain classes to a certain QName. For example: xmlns:ns="urn:ServerManager" qname="ns:Server" type="java:com.dummy.server.runtime.axis.Server" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> How is this accomplished in Axis2? Also, adding the following tag:to the service description in the WSDD would expose the given object as a complexType in the WSDL. Is there an alternative in Axis2 with the same or similar functionality? Thanks, Shahar Kedar Software AG Israel
[Axis2] - Bug in deployment
Hi, I think I found a bug in the Axis2 deployment mechanism. Looking at the code of org.apache.axis2.deployment.RepositoryListener, it seems that if there are no files under the services folder then Axis will not check whether existing services were removed. This is what I think is happening: The method that checks whether certain services were removed is checkForUndeployedServices() under the WSInfoList class. This method will check for changes only if the check boolean is set to TRUE. The check boolean is set to TRUE only by the addWSInfoItem() method under the WSInfoList class. This method will be called by the RepsitoryListener only if the file list of the services directory is not empty. This means, that if I already have some service deployed, and I decide the delete all the content of the services folder, those services will remain deployed until Axis2 is restarted. Any ideas how to bypass this bug (other than maintaining a dummy file under the services folder)? Should I report this bug to the Axis2 team? Thanks, Shahar Kedar Software AG Israel
[Axis2] - Programmatically deploying and undeploying a Web Service
Hi all, Is it possible to deploy and undeploy web services programmatically and without any file system involvement? I looked at the deployment API currently available, and it seems that adding a new web service should be quite simple. My code goes as follows: AxisService axisService = new AxisService(serviceName); String serviceXML = ServiceXMLBuilder.toXML(descriptor); // This build the services.xml string according to a given service descriptor (a proprietary object). InputStream serviceInputStream = new ByteArrayInputStream(serviceXML.getBytes()); try { m_engine.buildService(axisService, serviceInputStream, Thread.currentThread().getContextClassLoader(), m_engine.getAxisConfig()); //m_engine is a new instance of the DeploymentEngine } catch (DeploymentException ex) { //Logging the exception } However, I do not understand fully how can I undeploy a certain Web Service in runtime and programmatically. Looking at the code of the unDeploy() method, it seems to be looking for an Archive File, which I do not create at all. Any ideas? Thanks, Shahar.