Re: [Axis2]How to invoke a webservice built by Axis2 in PHP?

2006-08-11 Thread zhu jiang
Hi Chinthaka,
 
    How could I use the stub code in PHP?
 
Thanks,
Jiang 
2006/8/10, Eran Chinthaka <[EMAIL PROTECTED]>:
The easiest way is to write your implement the contract first approach,which I always encourage.Write your own wsdl, use wsdl2java to generate clients and/or server
side code and use them. Its the best way.-- Chinthakazhu jiang wrote:> I cannot use document/literal style message because the operation I> wrote has two parameters, and by now only rpcmessage receiver supports
> for this in Axis2. What should I do?>>> 2006/8/10, Eran Chinthaka <[EMAIL PROTECTED]> 
[EMAIL PROTECTED]>>:>> Is your SoapClient supports document/literal style messages?>>>> zhu jiang wrote:> > Hi All,> >> > I made a webservice by Axis2 
v1.0 using RPCMessageReceiver,  but I> > can't use the SoapClient class in PHP to invoke the webservice.> For example:> > $soapclient=new> > SoapClient(" 
http://127.0.0.1:8080/axis2/services/version?wsdl");> > ...> >> > But the SoapClient could invoke webservices built by Axis 1.3> . Does> > Axis2 not support this? What should I do?
> >> > Thanks,> > Jiang>>>>>


Re: [Axis2]How to invoke a webservice built by Axis2 in PHP?

2006-08-09 Thread zhu jiang
I cannot use document/literal style message because the operation I wrote has two parameters, and by now only rpcmessage receiver supports for this in Axis2. What should I do? 
2006/8/10, Eran Chinthaka <[EMAIL PROTECTED]>:
Is your SoapClient supports document/literal style messages?zhu jiang wrote:> Hi All,
>> I made a webservice by Axis2 v1.0 using RPCMessageReceiver,  but I> can't use the SoapClient class in PHP to invoke the webservice. For example:> $soapclient=new> SoapClient("
http://127.0.0.1:8080/axis2/services/version?wsdl");> ...>> But the SoapClient could invoke webservices built by Axis 1.3
. Does> Axis2 not support this? What should I do?>> Thanks,> Jiang


[Axis2]How to invoke a webservice built by Axis2 in PHP?

2006-08-09 Thread zhu jiang
Hi All,
 
    I made a webservice by Axis2 v1.0 using RPCMessageReceiver,  but I can't use the SoapClient class in PHP to invoke the webservice. For example:
    $soapclient=new SoapClient("http://127.0.0.1:8080/axis2/services/version?wsdl");
    ...
 
    But the SoapClient could invoke webservices built by Axis 1.3. Does Axis2 not support this? What should I do?
 
Thanks,
Jiang


Re: [Axis2]How to write a operation with multi-parameters?

2006-08-08 Thread zhu jiang
Great! Thanks a lot!
 
Jiang 
2006/8/8, Anne Thomas Manes <[EMAIL PROTECTED]>:
What version of Axis are you using?If you are using Axis 1, then you can use RPC/encoded, RPC/literal, or
wrapped document/literal style services with the RPC provider tosupport an RPC-like programming experience. For best interoperability,I suggest using wrapped style. See
http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.htmlfor an explanation of the wrapped style. You can also use unwrappeddocument/literal with the RPC provider, but you must wrap yourparameters into a single bean.
If you are using Axis2, then you must use RPC/literal style with theRPC provider to support multiple parameters (for now). Axis 2 will addsupport for wrapped document/literal shortly. You can also useunwrapped document/literal with the RPC provider, but you must wrap
your parameters into a single bean.AnneOn 8/8/06, zhu jiang <[EMAIL PROTECTED]> wrote:>> Hi All,>> I don't find any samples about writing operations with multi-parameters.
> How could I write a operation with multi-perameters, and how could I write> the client side? Anybody can help me?>> Thanks,>> Jiang-
To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2]How to write a operation with multi-parameters?

2006-08-08 Thread zhu jiang
Hi All,
 
    I don't find any samples about writing operations with multi-parameters. How could I write a operation with multi-perameters, and how could I write the client side? Anybody can help me?
 
Thanks,
Jiang


Re: Installing Axis2

2006-07-25 Thread zhu jiang
Congratulation!
2006/7/26, Harbarth, Juliane <[EMAIL PROTECTED]>:
Hi,of course the service name is 'version' and providing this helped atonce.I saw a sample client somewhere in the docu and just selected something
fromthe version service's WSDL that most resembled what was provided there.I even got rid of these log complaints by copying some log4j.propertiesfromsomewhere. After small additions to the client 
w.r.t. output I now have:Hello I am Axis2 version service , My version is 1.0 May 05, 2006(12:30:54 IST)Isn't this nice.Thanks a lot,Juliane.-Original Message-From: Eran Chinthaka [mailto:
[EMAIL PROTECTED]]Sent: Dienstag, 25. Juli 2006 18:30To: axis-user@ws.apache.orgSubject: Re: Installing Axis2
Harbarth, Juliane wrote:>> Hi,>> thanks to Martin and Jiang, I managed to generate two classes> VersionCallbackHandler.java and VersionStub.java. I even managed to> write a Client that uses these classes and compiled all the three.
> Only, they don't run. The class VersionClient and the error msg.> is provided below. I'd be greatful for more advise.> I am almost sure the service is deployed, the axis2 'Services'> page says so.
What does the Axis2 services pages gives as the EPR of your service? Youshould pass that when you are creating the stub. I assume, the servicename is not "axis2:versionPortType".-- Chinthaka
-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: 
[EMAIL PROTECTED]


Re: Installing Axis2

2006-07-22 Thread zhu jiang
Hi Juliane,
 
    You could download the axis2-std-1.0-bin or eclipse plugin for code generation from the axis2 website.
 
Thanks,
Jiang 
2006/7/22, Harbarth, Juliane <[EMAIL PROTECTED]>:
Hi,I installed Axis2 below Tomcat using the WAR (Web Archive) Distributionasdescribed in the Apache Axis2 Installation Guide. The installation seems
oksince I am able to see the Axis2 Web Application Home Page.My first idea was to call the version service and therefore I wanted togenerate client stubs using the WSDL2Java Tool as described in the
User's Guide.However, I can't find it. The User's Guide says it is"located in the bin directory of the distribution" but there is no suchthing.All I've got is an axis2 folder below 'webapps' below 'Tomcat 
5.5'.There issomething I am not getting. Please advise.Regards,Juliane.-To unsubscribe, e-mail: 
[EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]


[Axis2]How to debug webservices?

2006-07-22 Thread zhu jiang
Hi All,
 
    How could I debug webservices?I found it difficult to debug a deployed webservice.
 
Thanks,
Jiang


Re: [Axis2]Why cannot hot delete services?

2006-07-21 Thread zhu jiang
Thanks a lot!
2006/7/21, Deepal Jayasinghe <[EMAIL PROTECTED]>:
Hi Jiang;If you are in Linux then just delete the service from services directory.In windows you need to change 
axis2.xml , in axis2.xml there is aparameter called "*locked="false">false*"you need to set the value of that parameter to true.
zhu jiang wrote:> Hi All,>> How could I hot delete a service instead of rebooting the> servlet container?>> Thanks,> Jiang--Thanks,Deepal
~Future is Open~-To unsubscribe, e-mail: 
[EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]


[Axis2]Why cannot hot delete services?

2006-07-20 Thread zhu jiang
Hi All,
 
    How could I hot delete a service instead of rebooting the servlet container?
 
Thanks,
Jiang


Re: [Axis2]Module not found

2006-07-20 Thread zhu jiang
Hi Chinthaka,
 
    I have read the userguide, and followed all the instructions, but still it shows module not found. What should I do?   
 
Thanks,
Jiang 
2006/7/20, Eran Chinthaka <[EMAIL PROTECTED]>:
zhu jiang wrote:> Hi All,>> When I run the sample of EchoBlockingDualClient, I receive that:
>   *org.apache.axis2.AxisFault: Module not found*> **What should I do?Did u read "Engaging Addressing in Client Side" in
http://ws.apache.org/axis2/1_0/userguide3.html.-- Chinthaka


Re: [Axis2]Module not found

2006-07-20 Thread zhu jiang
Hi Martin,
 
    Do I only need Axis2.jar,or all the jars in lib directory of axis2-std-1.0-bin?
 
Thanks,
Jiang 
2006/7/20, Martin Gainty <[EMAIL PROTECTED]>:




Jiang-
Is axis.jar is on your CLASSPATH??M-
*This email message and any files transmitted with it contain confidentialinformation intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notifythe sender immediately by telephone or email and destroy the originalmessage without making a copy.  Thank you.

 
 

- Original Message - 
From: zhu jiang 

To: axis-user@ws.apache.org 
Sent: Wednesday, July 19, 2006 11:49 PM
Subject: [Axis2]Module not found
 
Hi All,
 
    When I run the sample of EchoBlockingDualClient, I receive that:
  org.apache.axis2.AxisFault: Module not found
    What should I do?
 
Thanks,
Jiang



[Axis2]Module not found

2006-07-20 Thread zhu jiang


Hi All,
 
    When I run the sample of EchoBlockingDualClient, I receive that:
  org.apache.axis2.AxisFault: Module not found
    What should I do?
 
Thanks,

Jiang


[Axis2]Module not found

2006-07-19 Thread zhu jiang
Hi All,
 
    When I run the sample of EchoBlockingDualClient, I receive that:
  org.apache.axis2.AxisFault: Module not found
    What should I do?
 
Thanks,
Jiang


Re: [Axis2]Cannot download eclipse tool of Service Archive Wizard and Code Generator Wizard

2006-07-18 Thread zhu jiang
I have found the mirror page now and downloaded zip files. Thanks!
It seems that these two links are broken:
http://www.apache.org/dyn/mirrors/mirrors.cgi/ws/axis2/tools/1_0/Axis2_Service_Archiver.zip
http://www.apache.org/dyn/mirrors/mirrors.cgi/ws/axis2/tools/1_0/Axis2_Code_Generator.zip 
2006/7/19, zhu jiang <[EMAIL PROTECTED]>:


I downloaded it from http://www.apache.org/dyn/mirrors/mirrors.cgi/ws/axis2/tools/1_0/Axis2_Service_Archiver.zip
 . It seems broken.
How could I change to another mirror? 
2006/7/19, Ajith Ranabahu <[EMAIL PROTECTED]>: 


Hmmm..I just downloaded the plugin pack and it seems fine. Perhaps there wasa problem with the particular mirror you downloaded from. Please try a 
different mirror and let us knowAjithOn 7/19/06, zhu jiang <[EMAIL PROTECTED]> wrote:
>> Hello All,>>I downloaded the eclipse plugin in > http://ws.apache.org/axis2/tools/index.html
, but it seems> that the zip files are broken. What's wrong?>> Thanks,>> Jiang --Ajith Ranabahu-
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: 
[EMAIL PROTECTED]
 


Re: [Axis2]Cannot download eclipse tool of Service Archive Wizard and Code Generator Wizard

2006-07-18 Thread zhu jiang
I downloaded it from http://www.apache.org/dyn/mirrors/mirrors.cgi/ws/axis2/tools/1_0/Axis2_Service_Archiver.zip
. It seems broken.
How could I change to another mirror? 
2006/7/19, Ajith Ranabahu <[EMAIL PROTECTED]>:
Hmmm..I just downloaded the plugin pack and it seems fine. Perhaps there wasa problem with the particular mirror you downloaded from. Please try a
different mirror and let us knowAjithOn 7/19/06, zhu jiang <[EMAIL PROTECTED]> wrote:>> Hello All,>>I downloaded the eclipse plugin in
> http://ws.apache.org/axis2/tools/index.html, but it seems> that the zip files are broken. What's wrong?>> Thanks,>> Jiang
--Ajith Ranabahu-To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Unable to generate WSDL for this service

2006-07-18 Thread zhu jiang
Thanks you two guys!
2006/7/19, Deepal Jayasinghe <[EMAIL PROTECTED]>:
pls have a look at the following faqhttp://www.wso2.net/kb/104
zhu jiang wrote:> Hi All,>> When I click the link of MyService in> http://127.0.0.1:8080/axis2/services/listServices
, I found that:> *- * <http://127.0.0.1:8080/axis2/services/MyService?wsdl#> > * * < description>*Unable to generate WSDL for this service*> description>> * * < reason>*Either user has not dropped the wsdl into META-INF or> operations use message receivers other than RPC.* > * * >>But I have tried the Version Service, the wsdl of it could be shown
> successfully. What should I do?--Thanks,Deepal~Future is Open~-
To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2]Cannot download eclipse tool of Service Archive Wizard and Code Generator Wizard

2006-07-18 Thread zhu jiang
Hello All,
 
   I downloaded the eclipse plugin in http://ws.apache.org/axis2/tools/index.html, but it seems that the zip files are broken. What's wrong?
 
Thanks,
Jiang


Unable to generate WSDL for this service

2006-07-18 Thread zhu jiang
Hi All,
 
    When I click the link of MyService in http://127.0.0.1:8080/axis2/services/listServices, I found that:


-
 


  <
description>Unable to generate WSDL for this service
description> 

  <
reason>Either user has not dropped the wsdl into META-INF or operations use message receivers other than RPC.
reason> 
  error
>
 
   But I have tried the Version Service, the wsdl of it could be shown successfully. What should I do?