Axis2/C - USERNAME and PASSWORD

2007-07-31 Thread Michael Mole
I'm looking for more information about AXIS2_USER_NAME and AXIS2_PASSWORD in axis2_const.h. What are they used for, and how are they used? I'm still trying to solve my issue of using Basic http Authentication with my web services, and these look like they may be the key. Any help is greatly

Re: **JUNK** [Axis2/C] Function axis2_msg_ctx_get_to returns null

2007-07-31 Thread Samisa Abeysinghe
Simon Elbaz wrote: Sorry, the subject of my last message was not the good. On the server side, try using msg_info_headers = axis2_msg_ctx_get_msg_info_headers(msg_ctx, env); axis2_endpoint_ref_from = axis2_msg_info_headers_get_to(msg_info_headers, env); Samisa... Simon Elbaz wrote: Hi, I

Re: Axis2/C - USERNAME and PASSWORD

2007-07-31 Thread Manjula Peiris
Hi Michael, The constants AXIS2_USER_NAME and AXIS2_PASSWORD defined in axis2_const.h are not in use. If you want Basic http Authentication you can use Axis2/c with Apache. There is a httpd module for this .Please see the section Deploying with Apache Http Server in the Axis2/C mannual. And

Axis 2, SOAP, XML-RPC, Unicode, POJOs

2007-07-31 Thread albert quinn
Hi everybody!! : I've a question : if I build a POJO web service and I build a RPCServiceClient to invoke it, which protocol will be used? SOAP? XML-RPC? If XML-RPC is used and there is no way to use SOAP... can i only use UTF-8? can i use unicode chars? Many thanks in advance.

RE: Sending pictures or files through Web Services

2007-07-31 Thread Erwin Reinhoud
Hello, This is more another question than an answer, but why not use just base64Binary in the payload? I know it adds to size and processing, but as long as size stays in limits isn't this a good interoperable alternative? Any comments? Thanks in advance. Greetings, Erwin

Re: Axis 2, SOAP, XML-RPC, Unicode, POJOs

2007-07-31 Thread Deepal Jayasinghe
Hi everybody!! : I've a question : if I build a POJO web service and I build a RPCServiceClient to invoke it, which protocol will be used? SOAP? XML-RPC? It is SOAP. If XML-RPC is used and there is no way to use SOAP... can i only use UTF-8? can i use unicode chars?

How to use Axis2 services as part of an EAR with JBoss?

2007-07-31 Thread Guido Adolphi
Hello, I have the requirement to integrate the implementations of services created from a WSDL into an existing EAR running under JBoss 4.0.2. Thereby, the service implementations must have access to EJBs and other components within the respective EAR. Are there any recommendations or

Re: Axis 2, SOAP, XML-RPC, Unicode, POJOs

2007-07-31 Thread albert quinn
Hi Deepal !!! : MANY thanks for your answer, time an dedication, you're nice!!!. It's a good new for me to know that it is SOAP!!, great!!. I wonder if it is possible to choose the SOAP version and the character encoding for that service / client approach. If so, where could i find the

Axis2 and Rahas: STS shall issue tokens

2007-07-31 Thread Chris82KS
Hello! Now I have implemented a STS with RAHAS 1.1. My client sends requests to the STS without authentication. That means that I don't send a usernametoken and I don't send a X509-token, either. But my STS doesn't send the correct response, means it doesn't send a token. It alwyays says that

Re: [1.3-RC2] Build JAX-WS server from wsdl in maven2 project

2007-07-31 Thread p . casenove
Hi, Does anybody have an idea of the source of the problem? My wsdl seems to be valid (only jaxb generation fails, xmlbeans and adb are OK). I really don't see the issue. Thanks, Pierre [EMAIL PROTECTED] 30/07/2007 14:11 Veuillez répondre à axis-user@ws.apache.org A

[AXIS2] Problem with WS-Trust

2007-07-31 Thread Jochen Zink
Hello, I try to build a Client with Axis-1.2 for the WebService https://www.vdg-portal.de/VDGAuthPortal/services/STS. The client only calls the RequestSecurityToken Method. First, I generate the client with the following command: wsdl2java -uri

Re: Axis2 article with databinding comparison

2007-07-31 Thread Dennis Sosnoski
Hi Amila, Amila Suriarachchi wrote: ... you have said. With JiBX, you first create a binding definition to define how Java objects are to be converted to and from XML, then compile that binding using a tool that enhances your data class files by adding methods (as bytecode) implementing the

[Axis2] Problem Installing from Standard Binary Distribution

2007-07-31 Thread AJ Coon
Hello, I am new to Axis. I am trying to get it installed under Tomcat 5.5. I am building the .war file using ant, and then copying into the webapps directory. Immediately after I copy axis2.war into webapps, I see this in my logs: == ../../logs/catalina.2007-07-30.log == Jul 30, 2007 8:25:20

Re: [Axis2] Problem Installing from Standard Binary Distribution

2007-07-31 Thread sumedha rubasinghe
Hi AJ, Could you tell me what is the axis2 version your using? I just tried this using Axis2 1.3-RC2 available from http://ws.apache.org/axis2/download.cgi I could not generate the scenario your experiencing. Please provide us more information on your environment. /sumedha AJ Coon wrote:

Re: [Axis2] Problem Installing from Standard Binary Distribution

2007-07-31 Thread keith chapman
In that case its better if you use the 1.3-RC2 release as you are new to Axis2. Thanks, Keith. On 7/31/07, sumedha rubasinghe [EMAIL PROTECTED] wrote: Hi AJ, Could you tell me what is the axis2 version your using? I just tried this using Axis2 1.3-RC2 available from

Re: [Axis2] Problem Installing from Standard Binary Distribution

2007-07-31 Thread AJ Coon
Thanks! I installed 1.3-RC2 and this issue was resolved. Sorry for not trying that before. I thought 1.2 was a stable release. -aj On 7/31/07, keith chapman [EMAIL PROTECTED] wrote: In that case its better if you use the 1.3-RC2 release as you are new to Axis2. Thanks, Keith. On

RE: Sending pictures or files through Web Services

2007-07-31 Thread Walker, Jeff
With Base64, there is an approx. 33% increase in the size of the payload. That's a huge cost, considering all you're trying to do is transfer a file from point A to B. If you always know the size of your attachments, then you know up front the cost it brings to the table, and then I guess Base64

[Axis2] Websphere 6.1 deployment error

2007-07-31 Thread Jack Sprat
I have an Axis2 1.2 service that works fine on Tomcat 5.5. All the Axis2 artifacts are contained in one big WAR file. Deploying the WAR file to Websphere 6.1 yields the following error: INFO ServiceDeployer - The imageview service, which is not valid, caused java.lang.NoSuchMethodError:

Problem when using MTOM Axis2 sample with Eclipse/Weblogic

2007-07-31 Thread Magnus Lassi
Hi, I am currently in the process of learning the Axis2 framework. I want to use MTOM but I have been having problems getting it to work correctly. When I try the MTOM sample that comes with Axis 2.1.2, it works great if I use the Axis2 server. I want to get it to work with Eclipse 3.3 and

Question About WSDL for Axis2

2007-07-31 Thread New AxisU
Amila wrote if you start from the begining please try Axis2 as well. Axis2 does not support rpc/encoding but it fully support the rpc/lit and doc/lit styles. Does this mean that if I have an existing WSDL working with Axis1 using rpc/soap encoding that I will need to convert it to doc/lit (or

Axis-wsse and log.debug

2007-07-31 Thread Hillel Seltzer
Hello, I am complete java newbie. I am trying to use axis with wsse to set up a client for a remote web service. I have been following the Java instructions for the sample TestClient at: https://thefinder.tax.ohio.gov/StreamlineSalesTaxWeb/WebService/About.aspx I have installed axis 1.4 and

RE [Axis2] Websphere 6.1 deployment error

2007-07-31 Thread p . casenove
I'm running Axis2 with websphere 6.1 without any problem. The issue you have seems to be the same as the one depicted here: http://ws.apache.org/muse/docs/2.2.0/manual/troubleshooting/wsdl4j-version-on-websphere.html Pierre Jack Sprat [EMAIL PROTECTED] 31/07/2007 16:25 Veuillez répondre à

[Axis2] Problem Validating axis2-1.3-RC2 Standard Binary install

2007-07-31 Thread AJ Coon
Hello, Thanks for the help on the previous thread. I'm now having a problem verifying my Axis2 install. When I click on the Validate link, aside from the standard header and footer the page only says Internal server error. When I check the catalina.outfile, I see the following: 2007-07-31

RE: How to use Axis2 services as part of an EAR with JBoss?

2007-07-31 Thread Michael.Davis
I've done a similar thing with an application that is hosted on WebSphere. My ear file consists of just one war file. The war file is set up like a regular web application, but in the WEB-INF directory, I have a couple of extra directories: modules and services. My service .aar file is in

Re: Sending pictures or files through Web Services

2007-07-31 Thread at4david
Hi, I want to thank you all for your responses, I am going to start reading MIME, do you know any links where can I find examples to do it with java and Axis 1.4??? Thanks again -- View this message in context:

Axis 1.3 webservice client

2007-07-31 Thread Kumar, Amit {PBSG}
Hi, I am new to Axis. I am trying to work on a poc where I need to invoke a web service using Axis 1.3. The webservice is developed using TIBCO Businessworks. I need to write the Axis client to invoke this service and get the result. I have the wsdl. I developed a client but getting few tomcat

Re: [Axis2] Problem Validating axis2-1.3-RC2 Standard Binary install

2007-07-31 Thread Davanum Srinivas
Are u running tomcat with secure option on? -- dims On 7/31/07, AJ Coon [EMAIL PROTECTED] wrote: Hello, Thanks for the help on the previous thread. I'm now having a problem verifying my Axis2 install. When I click on the Validate link, aside from the standard header and footer the page

[Axis2] 1.3 Snapshot - Fatal error restarting the Http Nio transportReceiver

2007-07-31 Thread Tobias Seng
Hello, I try to start, stop and restart the HttpNio transportIn using the org.apache.axis2.engine.ListenerManager But with the second start the logger writes a Fatal error. So what's wrong? Can anybody help me please? LOG: === DEBUG - Starting Listener... INFO -

OMElement construction for xsd:anySimpleType

2007-07-31 Thread Richard Pöttler
Hi, I got to create a web service interface for a reasoner (a datalog evaluation engine). Finally i managed to write a wsdl file which will be accepted by axis2. At the construction time of the wsdl file I don't know the datatype of the value wich will be returned by the reasoner. The datatypes

XmlBeans Quickstart Example Better in 1.3RC2

2007-07-31 Thread New AxisU
Hi, I was having a problem getting the client to run in the quickstart xml beans sample with axis2 1.2. After reading try 1.3 many times, I was encouraged to do the same ... and ... it works fine! So if you are interested in using the xmlbeans sample, be encouraged to try 1.3.

RE: Axis 1.3 webservice client

2007-07-31 Thread Walker, Jeff
1. Get the wsdl. 2. Run wsdl through WSDL2Java, here is the general command structure: %java org.apache.axis.wsdl.WSDL2java --server-side --skeletonDeploy true wsdl_filenamewsdl This will create the clientside stub class and th serverside clases as well. (It slways good to have the serverside

Re: RE [Axis2] Websphere 6.1 deployment error

2007-07-31 Thread Jack Sprat
I already had the application itself set to loading parent last. However, I had not changed the WAR class loader policy option to single class loader for application. Making that change got rid of the error, but now when I try to invoke my service I get the following error: Error 404:

Re: [Axis2] Problem Validating axis2-1.3-RC2 Standard Binary install

2007-07-31 Thread AJ Coon
Sorry, I'm new to Tomcat as well. Here's the full command that is being executed by my system init script for Tomcat 5.5: jsvc.exec -user tomcat55 -cp /usr/share/java/commons- daemon.jar:/usr/share/tomcat5.5/bin/bootstrap.jar -outfile /var/lib/tomcat5.5/logs/catalina.out -errfile 1 -pidfile

Re: [Axis2] Problem Validating axis2-1.3-RC2 Standard Binary install

2007-07-31 Thread Davanum Srinivas
Please turn it off for now. And please log a bug so that we can figure out exactly what needs to be added *minimally* to catalina.policy to get it working thanks, dims On 7/31/07, AJ Coon [EMAIL PROTECTED] wrote: Sorry, I'm new to Tomcat as well. Here's the full command that is being

Path to Axis2 Question

2007-07-31 Thread New AxisU
Hi, I have an axis1 client, a dot.net client and an axis1 service. We want to move to axis2. Would it be a reasonable first step to change our wsdl from rpc/encoded to doc/lit before moving to axis2? Does axis 1.4 support doc/lit? Thanks.

Re: ExtensionUtility not found in nightly build

2007-07-31 Thread David Robertson
It turns out axis2-adb-codegen-1.3-RC2.jar is in the binary distribution but not in the war file. -David Amila Suriarachchi wrote: it says [java] Exception in thread main org.apache.axis2.wsdl.codegen .CodeGenerationException: java.lang.RuntimeException: java.lang.ClassNotFoundException:

Re: Problem when using MTOM Axis2 sample with Eclipse/Weblogic

2007-07-31 Thread Thilina Gunarathne
Hi, I'm not sure about the mailapi jar.. Do you have the mail.jar in the classpath.. Any possibility of narrowing down this problem to see whether there are any jar conflicts.. Eg: see whether it'll work with tomcat runtime configuration or see whether this client will work with a externally

Re: Urgent Help is need, Axis1.1 -- C# (VS2005)

2007-07-31 Thread Srinivasa Rao K
I found a solution for this problem. There was Null Response in C# Client because of two reaasons. 1. In the client proxy(C#), Reference.cs file has UnQualified attribute instead of Qualified for Serialization.XmlAttributeAttribute

AXIS2: Rampart: Support for IssuedToken

2007-07-31 Thread Par Nagi
Hi, Does Axis2/Rampart support services that expect a SAML (or other issued token) at present? I.e., can I write a service.xml where I specify the InflowSecurity parameter as follows? parameter name=InflowSecurity action itemsIssuedToken/items /action /parameter I get an

Re: Sending pictures or files through Web Services

2007-07-31 Thread Thilina Gunarathne
Even with MIME or DIME, the binary data is sent in base64binary or hexbinary. Not true.. They can be sent as Binary when used with transport protocols which supports binary (eg: http).. The difference is it is not send as a part of the soap message. The difference is akin to attaching a jpeg

Re: RE [Axis2] Websphere 6.1 deployment error

2007-07-31 Thread Jack Sprat
Thank you very much or the tip! Removing the servletapi-2.3.jar file from the WAR file seemed to do the trick. The error that the AxisServlet is not a servlet is gone and I see the AxisServlet and SOAPMonitorService initialized. I was able to run a successful echo test. I'm not sure I am home

-ap all ports option

2007-07-31 Thread New AxisU
Hi, The sample quickstart xmlbean build.xml file specifies -ap as an option to WSDL2Java. I see in CommandLineOptionConstants.java -ap being listed as all ports option but I don't see any other reference in the documentation. What does this mean? Why is the sample using it? Thanks

Re: Check Signature confirmation: stored SV vector not empty

2007-07-31 Thread Jorge Fernandez
Hi Dimithu, I'd read the specification but I'd missed that detail. Thanks for that. But my real problem was the Check Signature confirmation: stored SV vector not empty Exception. I resolved it adding the sp:RequireSignatureConfirmation/ assertion in the server policy because my client

Re: -ap all ports option

2007-07-31 Thread Davanum Srinivas
we are in the process of updating the docs :) -- dims On 7/31/07, New AxisU [EMAIL PROTECTED] wrote: Hi, The sample quickstart xmlbean build.xml file specifies -ap as an option to WSDL2Java. I see in CommandLineOptionConstants.java -ap being listed as all ports option but I don't see any

Re: ExtensionUtility not found in nightly build

2007-07-31 Thread Davanum Srinivas
Thanks! we already fixed this in the latest nightlies. (i.e. the war zip/dist has the jar) -- dims On 7/31/07, David Robertson [EMAIL PROTECTED] wrote: It turns out axis2-adb-codegen-1.3-RC2.jar is in the binary distribution but not in the war file. -David Amila Suriarachchi wrote: it

Re: [Axis2] Problem Installing from Standard Binary Distribution

2007-07-31 Thread sumedha rubasinghe
AJ Coon wrote: Thanks! I installed 1.3-RC2 and this issue was resolved. Sorry for not trying that before. I thought 1.2 was a stable release. It is a stable version. We do lots of testing before doing a release. But problems occur due to environmental issues that users have in their local

problem with generating the correct SOAP Message

2007-07-31 Thread Dimuthu
Hi David and all, Last time when I tested the attached wsdls against the Axis2-trunk it worked fine. So I consulted the ADB team again. They asked to use the latest Axis2 nightly builds available here[1]. If the problem still exist please put a JIRA bug in Rampart[2] attaching the WSDLs. Thank

Re: AXIS2: Rampart: Support for IssuedToken

2007-07-31 Thread Ruchith Fernando
Hi Nagi, Yes ... Rampart does support protecting messages with IssuedTokens. But this is not available with the parameter based configuration. Suport for issued tokens is available with the new policy based configuration which uses WS-SecurityPolicy. Right now we do not automatically obtain the

Re: -ap all ports option

2007-07-31 Thread Amila Suriarachchi
this means generate code for all ports. i.e normally wsdl2java generate code for only one port. if there are many ports for a service. I'll update both print usage and the documents. Amila. On 8/1/07, Davanum Srinivas [EMAIL PROTECTED] wrote: we are in the process of updating the docs :) --

Re: OMElement construction for xsd:anySimpleType

2007-07-31 Thread Amila Suriarachchi
This is an ADB problem. I have fixed this in the trunk and did not merge it since it was big change and no one have report this earlier. use xsd:anyType for your element. use a nightly build from the trunk. Amila. On 7/31/07, Richard Pöttler [EMAIL PROTECTED] wrote: Hi, I got to create a