Re: Axis client sending multiRef

2007-08-27 Thread p . casenove
Do I just have to remove the encodingStyle attribute to switch from 
encoded to literal?
Or are there other modifications to perform?




"Anne Thomas Manes" <[EMAIL PROTECTED]> 
25/08/2007 21:44
Veuillez répondre à
axis-user@ws.apache.org


A
axis-user@ws.apache.org
cc

Objet
Re: Axis client sending multiRef






This WSDL is rpc/encoded. You must convert it to rpc/literal.
(better yet, your should convert it to document/literal.)

Anne

On 8/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

hello, 
I've been regenerating the Axis 1.2 code from the wsdl (which is 
rpc/literal style) and forced the sendMultiRef parameter to false. 
The client still sends SOAP request causing my WS to crash: 
 
http://schemas.xmlsoap.org/soap/encoding/";> 
http://www.almerys.com/schemas/requete";> 
 
 
PD[...]= 
 
 
 
 

The arg0 tag is the one that makes the WS crash, when I call 
theRequest.getSERVICE_GENERAL_REQUETE_DETAIL() as it does not find the 
correct tag. 

Here is the wsdl of the service: 

 
http://www.almerys.com/schemas/reponse"; 
xmlns:requete=" http://www.almerys.com/schemas/requete"; 
xmlns:soapenc=" http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:tns=" http://www.almerys.com/services/AlmerysWebService"; 
xmlns:wsdl=" http://schemas.xmlsoap.org/wsdl/"; 
xmlns:wsdlsoap=" http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:xs=" http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"; 
targetNamespace=" 
http://www.almerys.com/services/AlmerysWebService";> 

http://www.almerys.com/schemas/requete"; /> 
http://www.almerys.com/schemas/reponse"; /> 

 
 
 

 
 
 

 
 
 
 
 
 

 
http://schemas.xmlsoap.org/soap/http"; 
/> 
 
 
 
http://schemas.xmlsoap.org/soap/encoding/"; 
namespace=" 
http://www.almerys.com/services/AlmerysWebService"; 
use="literal" /> 
 
 
http://schemas.xmlsoap.org/soap/encoding/"; 
namespace=" 
http://www.almerys.com/services/AlmerysWebService"; 
use="literal" /> 
 
 
 
 
 
http://www.preprod.almerys.com/fsa/services/AlmerysWebService"; /> 
 
 

 

Is there an error in my WSDL?? 
Another client, based on the same WSDL but using GSOAP is connecting well 
with the WS. 

Thanks in advance, 

Pierre 




"Anne Thomas Manes" <[EMAIL PROTECTED]> 
20/08/2007 21:39 

Veuillez répondre à
axis-user@ws.apache.org



A
axis-user@ws.apache.org 
cc

Objet
Re: Axis client sending multiRef








My guess is that your Axis 1.2 client apps are using RPC/encoded, but
Axis2 does not support RPC/encoded. You can't maintain compatibility.

Anne

On 8/20/07, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:
>
> Hello,
> I'm currently working on the update from Axis1 1.2 to Axis2 1.3 of my 
web
> services.
> I need to keep the compatibility of the older clients, which work with 
Axis1
> 1.2.
> One of the client is sending SOAP message with multiRef tags in the 
body.
> The corresponding webservice decodes the message fine under Axis1 but 
fails
> in NullPointerException under Axis2.
> The client is under Axis1 1.2.
> Is there a parameter to set (programmatically of using 
client-config.wsdd)
> to disable multiRef on client side?
> Is there something to do to have Axis2 understanding multiRef requests?
>
> Thanks in advance for the help,
>
> Pierre

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Re: axis2 -- minimum jars required for client??

2007-08-27 Thread keith chapman
This thread might help.

http://mail-archives.apache.org/mod_mbox/ws-axis-user/200708.mbox/browser

Thanks,
Keith.

On 8/27/07, Shiv <[EMAIL PROTECTED]> wrote:
>
> What are the minimum (must have) jars from axis2 (2.1.3) that are required
> in the classpath for a Java client program accessing wsdl generated by
> axis2? Do we need all the 60+ jar files in AXIS2_HOME/lib? The assumption
> here that the the client stubs are already generated (with wsdl2java) and
> packaged.
>
>
>
>
>
> --
> Take the Internet to Go: Yahoo!Go puts the Internet in your 
> pocket:mail,
>  news, photos & more.
>
>


-- 
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/


java2wsdl extended class support

2007-08-27 Thread Ihsan Demir

Hello,

Does anybody know if we can generate wsdl that includes the base class 
public operations for classes that are extended from a base class?


ihsan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: axis2-web dependency?

2007-08-27 Thread Amila Suriarachchi
On 8/27/07, Shiv <[EMAIL PROTECTED]> wrote:
>
> Having axis2 as a webapp name is good to demonstrate axis2, but typically,
> when a product is packaged, axis2 is under the hood, and need not be a
> webapp name. The customer accesses the application by its more appropriate
> name.
>

yes that is correct it should work. So does Axis2 work when you change the
root name or not? If not please log a jira.

thanks,
Amila.

Nevertheless, there was a typo in my web.xml, which resulted in the ?wsdl
> going haywire.
>
> Thanks
>
>
> *Amila Suriarachchi <[EMAIL PROTECTED]>* wrote:
>
> http://localhost:8804/xoraapps/services/TimeTrackService31?wsdl
>
> why you have rename the axis2 root name
> normally it should be
> http://localhost:8804/axis2/services/TimeTrackService31?wsdl
>
> can you try without root name and see.
>
> Amila.
>
> On 8/26/07, Shiv < [EMAIL PROTECTED]> wrote:
> >
> > I have the latest version of axis2 (2-1-3) running on resin 2.1.10. I am
> > able to get to the HappyAxis page which is under the axis2 webapp. But when
> > I try to access the wsdl of our custom webapp (xoraapp), I get the following
> > error. Why does our custom app have a dependency on
> > axis2-web/listSingleService.jsp. Did not get this error with 2-1-2.
> >
> > 500 Servlet Exception
> >
> > java.io.FileNotFoundException: /xoraapps/axis2-web/listSingleService.jsp   
> > at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java  
> > :143)   at
> >  com.caucho.server.http.Invocation.service(Invocation.java:315)   at 
> > com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)   
> > at 
> > com.caucho.server.http.QRequestDispatcher.include(QRequestDispatcher.java  
> > :362)   at 
> > com.caucho.server.http.QRequestDispatcher.include(QRequestDispatcher.java:274)
> >at 
> > org.apache.axis2.transport.http.AbstractAgent.renderView(AbstractAgent.java:120)
> >at
> >  org.apache.axis2.transport.http.ListingAgent.processListService  
> > (ListingAgent.java:448)   at 
> > org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:229)   
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)   at 
> > javax.servlet.http.HttpServlet.service(HttpServlet.java  :103)   at 
> > com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
> >at com.xora.apps.util.RequestLogger.doFilter(RequestLogger.java:257)   
> > at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java 
> >  :88)   at
> >  com.caucho.server.http.Invocation.service(Invocation.java:315)   at 
> > com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)   
> > at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java  :246) 
> >   at 
> > com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163)   
> > at com.caucho.server.TcpConnection.run(TcpConnection.java:139)   at 
> > java.lang.Thread.run(Thread.java:534)
> >
> >
> >
> > *Shiv <[EMAIL PROTECTED]>* wrote:
> >
> > resin 2.1.10
> >
> > Axis2 1.3 RC2 also has the same problem -- it seems to have dependency
> > on the jsps of axis2-web.
> >
> > *Deepal jayasinghe < [EMAIL PROTECTED]>* wrote:
> >
> > Hi Shiv ,
> > What is the application server are you using ?
> >
> > Thanks
> > Deepal
> > > I have the snapshot (nightly build) version as of 4th July. It used to
> > > work before (around 4th July); and I am not sure what changed in my
> > > env to cause this error.
> > >
> > >
> > > */Deepal jayasinghe /* wrote:
> > >
> > > Hi Shiv ,
> > > What is the Axis2 version are you using , if you can please try with
> > > Axis2 1.3 RC2.
> > >
> > > Thanks
> > > Deepal
> > > > We are trying to use axis2 in our application. The appserver is
> > > resin.
> > > > When trying to show the wsdl in the url
> > > >
> > > ( http://localhost:8804/xoraapps/services/TimeTrackService31?wsdl), it
> > > > is looking for /xoraapps/axis2-web/listSingleService.jsp. Why would
> > > > there be a dependency on axis2-web for a custom application?
> > > >
> > > >
> > > >
> > > >
> > > > 500 Servlet Exception
> > > >
> > > > ||
> > > > java.io.FileNotFoundException:
> > > /xoraapps/axis2-web/listSingleService.jsp at
> > > com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java
> > :143)
> > > at com.caucho.server.http.Invocation.service(Invocation.java:315)
> > > at
> > > com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
> > > at
> > > com.caucho.server.http.QRequestDispatcher.include(
> > QRequestDispatcher.java:362)
> > > at
> > > com.caucho.server.http.QRequestDispatcher.include(
> > QRequestDispatcher.java:274)
> > > at
> > > >
> > > org.apache.axis2.transport.http.AbstractAgent.renderView(
> > AbstractAgent.java:120)
> > > at
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >  --
> > Got a little couch potat

Re: Undeclared namespace prefix "SOAP-ENV"

2007-08-27 Thread Nadir Amra
Ensure you are using SOAP 1.1.   !.2 is not supported as of yet.

Nadir K. Amra


"Michael Sutter" <[EMAIL PROTECTED]> wrote on 08/21/2007 09:39:15 AM:

> Hello list,
> 
> I have a problem by accessing a AXISCPP service from an AXIS(2) Java
> client. I have a very simple WSDL, having only one method adding two
> numbers. I must access this service over a Java client, if it is 
> possible over a AXIS2 Java client. 
> 
> The wsdl is generated from a Java Class with java org.apache.axis.
> wsdl.Java2WSDL -l"http://localhost:9090/axis/TestService"; -uLITERAL 
> -yDOCUMENT -nauger  org.fzk.auger.MathAdd
> 
> When I generate the client stubs and access the service I always get
> an Exception:
> org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxParsingException: 
> Undeclared namespace prefix "SOAP-ENV"
>  at [row,col {unknown-source}]: [2,19]
> at org.apache.axis2.transport.TransportUtils.
> createSOAPMessage(TransportUtils.java:81)
> at org.apache.axis2.description.OutInAxisOperationClient.
> send(OutInAxisOperation.java:356)
> at org.apache.axis2.description.OutInAxisOperationClient.
> execute(OutInAxisOperation.java:294)
> at 
org.fzk.auger.MathAddServiceStub.add(MathAddServiceStub.java:151)
> at org.fzk.auger.Client.main(Client.java:14)
> 
> Does anybody know how I can solve the exception? Or it is not 
> possible to access a c++ service generated with -uLITERAL -yDOCUMENT
> - where I think the problem is from.
> 
> You can find the WSDL below - but I dont't think that it is wrong.
> 
> Kind regards 
> Michael
> 
> 
> http://auger.fzk.org"; 
xmlns:apachesoap="
> http://xml.apache.org/xml-soap"; xmlns:impl="http://auger.fzk.org"; 
xmlns:intf="
> http://auger.fzk.org"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
> xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema";>
> 
>  
>   http://auger.fzk.org
> " xmlns="http://www.w3.org/2001/XMLSchema";>
>
> 
>  
>   
>   
>  
> 
>
>
> 
>  
>   
>  
> 
>
>   
>  
> 
>
> 
>   
> 
>
> 
>
> 
>   
> 
>
> 
>
> 
>   
> 
>  
> 
>  
> 
>   
> 
>
> 
>
> 
>   http://schemas.
> xmlsoap.org/soap/http"/>
> 
>   
> 
>  
> 
>  
> 
> 
> 
>  
> 
>  
> 
> 
> 
>  
> 
>   
> 
>
> 
>
> 
>   
> 
>  http://localhost:9090/axis/TestService"/>
> 
>   
> 
>
> 
> 
> 
> -- 
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> 
> -
> 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]



Timeout

2007-08-27 Thread Jorge Fernandez
Hi all,

I'm usign axis2 1.3 and I could see that one of the changes made was about 
timeout. Now, while debugging my service, I get timeouts because axis2 removes 
contexts but I was managing this timeouts myself so I would like to deactivate 
axis2 timeouts. Is this possible?

I thought that maybe I could do it by setting timeout to 0 but it doesn't work.

Thanks,

Jorge Fernández



   
-

Sé un Mejor Amante del Cine
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!.


Simple question about MTOM, Rampart and optimize parts

2007-08-27 Thread Jorge Fernandez
Hi all,

I would like to know how does Rampart work with MTOM. I see that when using 
Rampart, MTOM elements are included as strings in the SOAP message instead of 
sending them outside the message as MIME parts, even if I don't do any 
operation with them (not signature, nor encryption), but these MIME parts 
appear empty in the HTTP message. Why is that?

Does optimize parts something about that? I don't understand much about this 
parameter.

If anybody could give me a hint about this, that would be great.

Thanks,

Jorge Fernández



   
-

Sé un Mejor Amante del Cine
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!.


Re: Undeclared namespace prefix "SOAP-ENV"

2007-08-27 Thread Michael Sutter
Hello,

I'm not sure, that I'm using the right versions - the error must come from 
something.
Here is exactly what I'm doing.
The server is AXISC (vers. 1.6b) and the client is AXIS2 (vers. 1.3)

first generating the wsdl: (CLASSPATH=$AXIS_HOME/lib)
java org.apache.axis.wsdl.Java2WSDL 
-l"http://ipepc45.ka.fzk.de:9090/axis/TestService"; -uLITERAL -yWRAPPED -T1.2 
-n"org.fzk.auger" org.fzk.auger.MathAdd

then generating the skeleton: (CLASSPATH=$AXISCPP_DEPLOY/lib)
java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws -lc++ -sserver -ocpp TestService.wsdl

then generating the stubs: (CLASSPATH=$AXIS2_HOME/lib)
$AXIS2_HOME/bin/wsdl2java.sh -uri TestService.wsdl -u -s -o java/ -wv 1.1

During query of the service with the AXIS2 client I always get the 
com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "SOAP-ENV" 
exception.

If you have a idea what I was making wrong please tell it me. When generating 
the WSDL with -yDocument the resulting wsdl has the declared function, but 
without params - so I used the WRAPPED argument. Maybe this is my error?

Attached you can find all my files.

Kind regards
Michael

 Original-Nachricht 
> Datum: Mon, 27 Aug 2007 09:33:50 -0500
> Von: Nadir Amra <[EMAIL PROTECTED]>
> An: axis-user@ws.apache.org
> Betreff: Re: Undeclared namespace prefix "SOAP-ENV"

> Ensure you are using SOAP 1.1.   !.2 is not supported as of yet.
> 
> Nadir K. Amra
> 
> 
> "Michael Sutter" <[EMAIL PROTECTED]> wrote on 08/21/2007 09:39:15 AM:
> 
> > Hello list,
> > 
> > I have a problem by accessing a AXISCPP service from an AXIS(2) Java
> > client. I have a very simple WSDL, having only one method adding two
> > numbers. I must access this service over a Java client, if it is 
> > possible over a AXIS2 Java client. 
> > 
> > The wsdl is generated from a Java Class with java org.apache.axis.
> > wsdl.Java2WSDL -l"http://localhost:9090/axis/TestService"; -uLITERAL 
> > -yDOCUMENT -nauger  org.fzk.auger.MathAdd
> > 
> > When I generate the client stubs and access the service I always get
> > an Exception:
> > org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxParsingException: 
> > Undeclared namespace prefix "SOAP-ENV"
> >  at [row,col {unknown-source}]: [2,19]
> > at org.apache.axis2.transport.TransportUtils.
> > createSOAPMessage(TransportUtils.java:81)
> > at org.apache.axis2.description.OutInAxisOperationClient.
> > send(OutInAxisOperation.java:356)
> > at org.apache.axis2.description.OutInAxisOperationClient.
> > execute(OutInAxisOperation.java:294)
> > at 
> org.fzk.auger.MathAddServiceStub.add(MathAddServiceStub.java:151)
> > at org.fzk.auger.Client.main(Client.java:14)
> > 
> > Does anybody know how I can solve the exception? Or it is not 
> > possible to access a c++ service generated with -uLITERAL -yDOCUMENT
> > - where I think the problem is from.
> > 
> > You can find the WSDL below - but I dont't think that it is wrong.
> > 
> > Kind regards 
> > Michael
> > 
> > 
> > http://auger.fzk.org"; 
> xmlns:apachesoap="
> > http://xml.apache.org/xml-soap"; xmlns:impl="http://auger.fzk.org"; 
> xmlns:intf="
> > http://auger.fzk.org"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
> > xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="
> > http://www.w3.org/2001/XMLSchema";>
> > 
> >  
> >targetNamespace="http://auger.fzk.org
> > " xmlns="http://www.w3.org/2001/XMLSchema";>
> >
> > 
> >  
> >   
> >   
> >  
> > 
> >
> >
> > 
> >  
> >   
> >  
> > 
> >
> >   
> >  
> > 
> >
> > 
> >   
> > 
> >
> > 
> >
> > 
> >   
> > 
> >
> > 
> >
> > 
> >   
> > 
> >  
> > 
> >  
> > 
> >   
> > 
> >
> > 
> >
> > 
> >   http://schemas.
> > xmlsoap.org/soap/http"/>
> > 
> >   
> > 
> >  
> > 
> >  
> > 
> > 
> > 
> >  
> > 
> >  
> > 
> > 
> > 
> >  
> > 
> >   
> > 
> >
> > 
> >
> > 
> >name="TestService">
> > 
> >   location="http://localhost:9090/axis/TestService"/>
> > 
> >   
> > 
> >
> > 
> > 
> > 
> > -- 
> > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
> > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> > 
> > -
> > 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]

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



wsdl2c

2007-08-27 Thread Feldman, Marc
Hi,
What program is used to convert a wsdl to C classes?
Thank you,
Marc


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Simple question about MTOM, Rampart and optimize parts

2007-08-27 Thread Giao
Please let me know if you come up with an answer.  I
am also using MTOM from an Axis2 client. (Axis2 1.1.1
and Rampart 1.1.  I am sticking with these version
because everything else works. I know Axis2 1.2 did
not work with Rampart 1.1 so I stopped testing other
combinations.)

As soon as I call
'ServiceClient.engageModule("rampart")' Axis2 seems to
ignore the statement
'Options.setProperty(Constants.Configuration.ENABLE_MTOM,
Constants.VALUE_TRUE)' and puts the attachment as 
base64 encoded within the SOAP message.

I have been avoiding stepping through the Axis2 and
Rampart source code to debug.  This would either help
me identify a property I'm not setting, or I'd find
that I have to recompile the Axis2/Rampart code,
something that I would not like to do.

Thanks in advance.
Giao Nguyen

--- Jorge Fernandez <[EMAIL PROTECTED]>
wrote:

> Hi all,
> 
> I would like to know how does Rampart work with
> MTOM. I see that when using Rampart, MTOM elements
> are included as strings in the SOAP message instead
> of sending them outside the message as MIME parts,
> even if I don't do any operation with them (not
> signature, nor encryption), but these MIME parts
> appear empty in the HTTP message. Why is that?
> 
> Does optimize parts something about that? I don't
> understand much about this parameter.
> 
> If anybody could give me a hint about this, that
> would be great.
> 
> Thanks,
> 
> Jorge Fernández
> 
> 
> 
>
> -
> 
> Sé un Mejor Amante del Cine
> ¿Quieres saber cómo? ¡Deja que otras personas te
> ayuden!.
> 



   

Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.
http://farechase.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[axis2-1.1.1] Deriving originating URI from SOAP

2007-08-27 Thread Jones, Alan R
 Is it possible to derive the originating URI of a sender from a SOAP
request message, even if the sender has not explicitly set any message
elements with such information?


Thanks,

Alan J


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [axis2-1.1.1] Deriving originating URI from SOAP

2007-08-27 Thread Andrew Martin
This should retrieve the sender:

MessageContext.getCurrentMessageContext().getProperty("REMOTE_ADDR").toString()

Andrew

Jones, Alan R wrote:
>  Is it possible to derive the originating URI of a sender from a SOAP
> request message, even if the sender has not explicitly set any message
> elements with such information?
> 
> 
> Thanks,
> 
> Alan J
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
Andrew Martin
Computer Programmer
Regenstrief Institute, Inc.
410 West 10th Street, Suite 2000
Indianapolis, IN 46202-3012
Phone: (317) 423-5542
Fax: (317) 423-5695
[EMAIL PROTECTED]


Confidentiality Notice: The contents of this message and any files
transmitted with it may contain confidential and/or privileged
information and are intended solely for the use of the named
addressee(s). Additionally, the information contained herein may have
been disclosed to you from medical records with confidentiality
protected by federal and state laws. Federal regulations and State laws
prohibit you from making further disclosure of such information without
the specific written consent of the person to whom the information
pertains or as otherwise permitted by such regulations. A general
authorization for the release of medical or other information is not
sufficient for this purpose.

If you have received this message in error, please notify the sender by
return e-mail and delete the original message. Any retention,
disclosure, copying, distribution or use of this information by anyone
other than the intended recipient is strictly prohibited.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Axis2 1.1 and Rampart 1.1.1

2007-08-27 Thread Skinner, Gregory W.
I am using Axis2 1.1 and Rampart 1.1.1 and whenever I send a message to my
service, I still end up getting a NullPointerException with the following in
the logs:

Unknown top level PED found:
org.apache.neethi.builders.xml.XmlPrimtiveAssertion
Aug 27, 2007 6:27:26 PM org.apache.axis2.transport.http.AxisServlet doPost
SEVERE: java.lang.NullPointerException

Does anyone have any idea how I can fix this?

thanks


smime.p7s
Description: S/MIME cryptographic signature


Re: axis2 -- minimum jars required for client??

2007-08-27 Thread Scott Sauyet

keith chapman wrote:

On 8/27/07, *Shiv* <[EMAIL PROTECTED] > wrote:

What are the minimum (must have) jars from axis2 (2.1.3) that are
required in the classpath for a Java client program accessing wsdl
generated by axis2? Do we need all the 60+ jar files in
AXIS2_HOME/lib? The assumption here that the the client stubs are
already generated (with wsdl2java) and packaged.


This thread might help.

http://mail-archives.apache.org/mod_mbox/ws-axis-user/200708.mbox/browser



I couldn't find the specific thread in there that you say would help. 
The only one that seemed to match was


http://tinyurl.com/2dql7h

But that one doesn't seem to have much in the way of a complete answer.

I have the same question, and another similar one, which is what is the 
minimum set of jar files needed to run WSDL2Java for an XMLBeans 
binding.  Does anyone know how to find that list beyond just trial and 
error?


Thanks,

  -- Scott


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: OMElement Vs java.lang.Object for (xsd:anyType) - Axis 1.3 Vs Axis 2 code generation

2007-08-27 Thread Raghu Upadhyayula
Hi Amila,

 

I tried this with the nightly build jars from axis2-1.3-SNAPSHOT-bin.zip
(adb.jar & adb-codegen.jar) of Aug. 27 2007 09:33 and in this
xsd:anyType is converted into OMElement, not java.lang.Object, but it
worked with the nightly build jars from axis2-SNAPSHOT-bin.zip (adb.jar
& adb-codegen.jar) of Aug. 27 2007 07:44

 

Which version of the jars should I use?

 

Thanks

Raghu

 



From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 10:54 PM
To: axis-user@ws.apache.org
Subject: Re: OMElement Vs java.lang.Object for (xsd:anyType) - Axis 1.3
Vs Axis 2 code generation

 


basically you are asking when is the Axis2 1.4.
we have just release Axis2 1.3 so it would be from another 3 or 4 months
time.

Amila.



On 8/22/07, Raghu Upadhyayula <[EMAIL PROTECTED]> wrote:

Hi Amila,

 

It worked with the nightly build jars (adb.jar & adb-codegen.jar).  When
will this change be moved to the main release (I mean which Axis2
version)?

 

Thanks

Raghu

 



From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 20, 2007 9:36 PM


To: axis-user@ws.apache.org
Subject: Re: OMElement Vs java.lang.Object for (xsd:anyType) - Axis 1.3
Vs Axis 2 code generation

 

 

On 8/17/07, Raghu Upadhyayula < [EMAIL PROTECTED]
 > wrote:

Hi Amila,

 

I'm currently using Axis2 1.3 version, is this bug fixed in that or do I
need to get nightly build for the fix.


it is only available in trunk. you can try this, get a nighly build and
replace  adb-codgen.jar and adb.jar with the nightly build jars. Then it
should work. 

 

And what is the fix?  If I define a parameter type as
xsd:anyType in my WSDL, does WSDL2Java convert it as java.lang.Object in
the generated sources 


yes, if you use nighly build jars.

 

or does it convert to org.apache.axiom.om.OMElement?

 

Thanks

Raghu

 





From: Amila Suriarachchi [mailto: [EMAIL PROTECTED] 
Sent: Thursday, August 16, 2007 9:36 PM
To: axis-user@ws.apache.org
Subject: Re: OMElement Vs java.lang.Object for (xsd:anyType) -
Axis 1.3 Vs Axis 2 code generation

 

this is a bug in Axis2. It has fixed in the trunk. please have a
look at with a nightly build.

On 8/11/07, Raghu Upadhyayula < [EMAIL PROTECTED]
 > wrote:

Hi,

In my webservices, I have a method which has a parameter defined
as type="xsd:anyType" in the WSDL.

 

In Axis 1.3, when I did WSDL2Java for my WSDL that parameter got
converted to java.lang.Object.

 

But in Axis2 1.2, when I did WSDL2Java for the same WSDL, that
parameter got converted to org.apache.axiom.om.OMElement.

 

My question is, if I need to pass a Java Object to my webservice
method, how do I convert it to OMElement and pass it to the method from
the client code & how do I convert OMElement back to java.lang.Object in
my server code?

 

 

Thanks

Raghu




-- 
Amila Suriarachchi,
WSO2 Inc. 




-- 
Amila Suriarachchi,
WSO2 Inc. 




-- 
Amila Suriarachchi,
WSO2 Inc. 



Axis2 newb

2007-08-27 Thread Dolph

Hey folks,

I'm wondering if someone can point me in the right direction. I've not
really developed web services much other then the intro axis2 code
generation/simple comms back and forth. Ok here's the task I have. I have to
deal with a messaging protocol that looks like this:

request->my web service
ack<-my web service
response<-my web service

The request,ack, and response are standardized xml messages from a defined
protocol that I have to work with.

What I have working right now is the request and ack response (standard
in/out messaging) via axis2 and standard HTTP. What I'm trying to figure out
is how to design my response. I'm going to have a lot of inbound messages so
I will need to make this a multithreaded app. I'm thinking of having a
thread pool to handle the inbound messages (need to research this more) and
send responses to the originating WS (messages contain the response address)
as I process them. The response has be to be sent within 30 seconds, which
should be ok as there it is simple processing/persistance.

What I'm wondering is if there's a response transport solution via axis2 or
should use a standard http sender object? Does my design sound alright or is
there something built in to axis2 that will make my life easier? 

Thanks in advance for any feedback and please send me links to good articles
and tutorials if you have them or find them.

many thanks,

Eric
-- 
View this message in context: 
http://www.nabble.com/Axis2-newb-tf4339167.html#a12360295
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] org.apache.axis2.util.Base64

2007-08-27 Thread Eben Bruyns
Eclipse is telling me that this class is deprecated, is there a replacement?

Eben

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Axis Web service and .NET compact framework client

2007-08-27 Thread raghavan
Hi,
 
I'm a newbie trying to create a web service using Apache Axis 2 version
1.3
I have created a web service which returns an OMElement.
Now what is the equivalent data type in .NET compact framework for
OMElement, so that I can parse the xml object?
 
Also, is it possible for me to return "value objects" from my web
service rather than a XML object? If so how is it done?
One thing to note is my client will be a .NET client.
Any help is appreciated.
 
Thanks in advance,
Raghavan.V.
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail.


tcp transport problem: multithread blocking sending doesn't work

2007-08-27 Thread 杨健
 hi, axis2ers

I create a webservices to send datas, and http,jms transport works fine with
multithread sending, but not for tcp.
TCP uses ws-addressing in both client and server sides, and it works fine in
single thread. In the case of multithread,
e.g.,
1. a thread T1 created to send data D1, use a ServiceClient object in
blocking way(sendReceive())
2. meanwhile, another thread T2(same as T1) created to send data D2
3. T1 sent the data and has not received the reply;(need more time)
4. T2 sent the data and received the reply;(T2 works OK)
5. T1 throws a Exception: Socket output is already shutdown

It seems like T2 shutdown the socket T1 used.

I use the seperator listener by options.setUseSeparateListener(true) and
similarlly "socket shutdown" exception throwed.
My question is:
when using two seperate ServiceClient, there should be two socket
connection. It works fine for http and jms, but why not work for
tcp? Is there something I missed when engaged ws-addressing or some bugs
there?

Thanks for your help.