Re: axis simple http server versus apache

2007-11-05 Thread Michael Sutter
Hello, I found out what the problem is. I simply need a configuration file in my home directory. But this don't solved my problem. The access to the libraries and files should be no problem - the apache daemon is running as the user running the axis simple server. So both have the rights to

Re: wsdl2java not including new function

2007-11-05 Thread Amila Suriarachchi
On 11/2/07, James Neff [EMAIL PROTECTED] wrote: I'm kinda discouraged that I didn't get a response to my question. It's hard to support open source tools when the community isn't there to help. I hacked at my problem yesterday and here's the work-around. I downloaded the axis2 plugin to do

Re: Axis2 WSDL2Java error during service skeliton/stub generation

2007-11-05 Thread Amila Suriarachchi
On 11/1/07, Kiran Sriram [EMAIL PROTECTED] wrote: Hi Anne, If I define void types as complex types then it is generating server skeleton/client stubs properly with out any errors. but then if you see the method signatures of the methods with void return types there is an object by name

Re: [Axis2] Generic Web Service client

2007-11-05 Thread Amila Suriarachchi
On 10/30/07, Evgeniy Vyborov [EMAIL PROTECTED] wrote: Hi folks. I'm new to Axis 2. Now I'm trying to implement wsdl-based generic web service client. The logic of this client is simple: user loads *.wsdl file from somewhere, chooses service, port, operation, sets input parameter values.

[AXIS2] extending axis2 1.3 ADB to support Hashtable

2007-11-05 Thread MadLion
Hi all, i'm using axis2 1.3 with ADB to create a webservice from a POJO. So far it's working as expected. And now i need to use Hashtable. If i look at the generated wsdl there is a use of xs:Hashtable (XMLSchema namespace). But if i look into XMLSchema i cannot find a declaration of Hashtable

Error in extracting properties: maybe a FAQ

2007-11-05 Thread Massimiliano Masi
Hi All, I am trying to add a custom wsse:Security element in the SOAP envelope before to apply the policy (since I've some problems with it). I use this code: //Service invocation ServiceClient client = new ServiceClient(ctx, null); OperationClient operationClient =

[axis2] WSDL2C InvocationTargetException

2007-11-05 Thread Michal Kulczewski
Hi folks, did anyone run into problems with converting WSDL to C structures a document containing 'any' elements? I have the same problem submitted as a bug (https://issues.apache.org/jira/browse/AXIS2C-643). This bug is claimed to be resolved in the latest svn. So I've downloaded the latest

FW: Re: Result Structure / wsdl file

2007-11-05 Thread Roman Sch�nbichler
Now I've used wsdl2java to get my classes aut of the correct wsdl file. The returned xml has changed a bit to: ns:myStatusResponse ns:return type=webservice.MyStatusResponse ns:statusnew/ns:status /ns:return /ns:myStatusResponse but there is still the renew element of which I can't get rid. I

Re: Re: Result Structure / wsdl file

2007-11-05 Thread Martin Gainty
Roman- Please post the wsdl which contains the renew element Thanks/ Martin-- - Original Message - From: Roman Schönbichler [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Monday, November 05, 2007 7:49 AM Subject: FW: Re: Result Structure / wsdl file Now I've used wsdl2java to get

Re: Re: Result Structure / wsdl file

2007-11-05 Thread Roman Sch�nbichler
Hey Martin! The whole wsdl looks like: wsdl:definitions targetNamespace=http://webservice; wsdl:documentationLoggedIn/wsdl:documentation - wsdl:types - xs:schema attributeFormDefault=qualified elementFormDefault=qualified targetNamespace=http://model.matkovits.at/xsd; -

Re: Re: Result Structure / wsdl file

2007-11-05 Thread Roman Sch�nbichler
I just saw that I wrote renew element, but actually meant return element.. sry for that little mistake. Original Message From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Subject: Re: Re: Result Structure / wsdl file Date: Mon, 5 Nov 2007 14:38:56 +0100 Hey Martin! The whole wsdl

[AXIS2] export a webservices with wsdl 1.1

2007-11-05 Thread Chily
Hi, i am new in axis2, and i export a lot of webservices from my applicacion (spring based application). By defaul, axis2 export this services with wsdl 2.0 service contract definition (dynamic wsdl generation), but i need to export them with the wsdl 1.1 version. Anyone now if there is any

RE: Axis1/1.4 Client to MTOM WebService

2007-11-05 Thread Barlotta, Michael [USA]
Anne: That would require changing the service (not out of the question but not desired). I am assuming at this point that the error is in my client-side implementation of an Axis1 MTOM client. Is there any client-side coding practices I am not following? Are there issues for MTOM support in

Re: [axis2] WSDL2C InvocationTargetException

2007-11-05 Thread eric
2007/11/5, Michal Kulczewski [EMAIL PROTECTED]: Hi folks, http://www.shifttab.cn:8001/wiki did anyone run into problems with converting WSDL to C structures a document containing 'any' elements? I have the same problem submitted as a bug (https://issues.apache.org/jira/browse/AXIS2C-643).

https transportsession bug: cannot restart tomcat

2007-11-05 Thread Vassilis Virvilis
Hi everybody, I am new to the list so please point me to the right direction if I am doing something wrong. I am using axis2-1.3 through https:// and the apache redirector of port 8009 and I have a very similar backtrace like bug #3141 but not exactly the same.

Re: [AXIS2] export a webservices with wsdl 1.1

2007-11-05 Thread Paul Fremantle
Chily As far as I know, Axis2 exposes both WSDL1.1 and WSDL2.0. You should look at http://localhost:8080/axis2/services/YourService?wsdl and wsdl2 Paul On 11/5/07, Chily [EMAIL PROTECTED] wrote: Hi, i am new in axis2, and i export a lot of webservices from my applicacion (spring based

Sharepoint Web services

2007-11-05 Thread Das, Amar
Hi: I generated Java code using wsdl2java for Microsoft sharepoint web services http://server/_vti_bin/Webs.asmx. I am trying to execute the GetWebCollection methods using the following code. code public class TestShare { public static void main(String[] args) { try {

Re: Sharepoint Web services

2007-11-05 Thread Paul Fremantle
When Axis2 creates a stub, it hard codes the URL that is in the WSDL into the stub as the default, but you can modify this at runtime. It seems like the URL contained in the WSDL for the server is not valid so the hard-coded service URL won't work. So you need to pass the real service URL to

RE: CXF Mtom service and Axis2 Axiom client (FIX)

2007-11-05 Thread Barlotta, Michael [USA]
Martin: I am using CXF 2.0.2 and used all of the jar files that come with that version. Since I started with CXF these jars were ahead of any comparable Axis2 jars in my project classpath. Let me know if you still want the list. Mike Barlotta Associate Booz | Allen | Hamilton

RE: Sharepoint Web services

2007-11-05 Thread Das, Amar
I have checked and found the URL to be valid. I set the options instead and added the following line options.setTo(new EndpointReference(http://server/_vti_bin/Webs.asmx http://server/_vti_bin/Webs.asmx )); Now I am getting the following error org.apache.axis2.AxisFault: Transport error: 401

[Axis2]: package doesnt contain ObjectFactory.class or jaxb.index

2007-11-05 Thread Oliver Hirschi
Hi at all I try to use a JAXB implementation inside axis2, but I did not get it to run. There comes ever the Exception package doesnt contain ObjectFactory.class or jaxb.index, but there is a ObjectFactory.class file in the definied package. The same implementation works fine ôuztside of

Re: Sharepoint Web services

2007-11-05 Thread Paul Fremantle
This looks like you are now getting an error from the server. I assume that the server is expecting a username/password to be set. Paul On 11/5/07, Das, Amar [EMAIL PROTECTED] wrote: I have checked and found the URL to be valid. I set the options instead and added the following line

RE: Sharepoint Web services

2007-11-05 Thread Das, Amar
That's what this portion of the code does or am I wrong? options.setProperty(HTTPConstants.AUTHENTICATE, auth); ServiceClient serviceClient = stub._getServiceClient(); serviceClient.setOptions(options); _ From: Paul Fremantle [mailto:[EMAIL PROTECTED] Sent: Monday,

port name and binding name overwriting

2007-11-05 Thread ROBINSON JULIEN
Hi all, I'm generating code from a WSDL using org.apache.axis2.tool.ant.AntCodegenTask In my WSDL, the service definition looks like this: wsdl:service name=someService wsdl:documentationBlabla/wsdl:documentation wsdl:port name=someServiceSoap binding=myns:someServiceSoap

Re: Sharepoint Web services

2007-11-05 Thread Paul Fremantle
Are you calling stub._getServiceClient().getOptions().setUsername() and setPassword()? in your code Paul On 11/5/07, Das, Amar [EMAIL PROTECTED] wrote: That's what this portion of the code does or am I wrong? options.setProperty(HTTPConstants. *AUTHENTICATE*, auth); ServiceClient

RE: Sharepoint Web services

2007-11-05 Thread Das, Amar
Here is the revised code that generates the same error WebsStub stub = new WebsStub(); ServiceClient serviceClient = stub._getServiceClient(); Options options = serviceClient.getOptions(); options.setTo(new EndpointReference(http://server/_vti_bin/Webs.asmx;));

Re: [AXIS2] export a webservices with wsdl 1.1

2007-11-05 Thread Chily
Hi paul thank you very much. But with this url (http://localhost:8080/axis2/services/YourService?wsdl axis2 expoirt the wsdl with 2.0 vesrsion (same as with services/YourService?wsdl2 off course). I read we can put some parameter like :

RE: Axis1/1.4 Client to MTOM WebService

2007-11-05 Thread Barlotta, Michael [USA]
I added this code to my Serializer and got the call to work... Thanks Thilina. DataHandler dh = data.getBinaryData(); InputStream is = dh.getInputStream(); ByteArrayOutputStream baos = IOHelper.getInputStreamAsBytes(is);

Suggestions on maintaining backward compatibility in web services

2007-11-05 Thread Vibhor_Sharma
Hi We have an existing web services architecture and stable APIs which are being used by our customers. We will be rolling out a new release shortly (upgrading to Axis2 1.3) and enhancing the web service interfaces. I want to know from the experts that are there any best practices of

RE: CXF Mtom service and Axis2 Axiom client (FIX)

2007-11-05 Thread Martin Gainty
Inviting version mismatch to mix other jars in like that as Axis has a snapshot of all jars and their specific version dependenciesMartin__Disclaimer and confidentiality noteEverything in this e-mail and any attachments relates to the official

RE: Sharepoint Web services

2007-11-05 Thread Das, Amar
Could not quite follow the question. OperationClient is part of the axis2 library. _ From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Monday, November 05, 2007 11:43 AM To: axis-user@ws.apache.org Subject: RE: Sharepoint Web services

Re: Suggestions on maintaining backward compatibility in web services

2007-11-05 Thread José Antonio Sánchez
I've been developing some services that were generated with Axis2 1.0 and everytime Axis2 has been updated (1.0-1.1-1.2-1.3) I had to regenerate the code because it would not compile with the new libraries. In my experience Axis2 doesn't maintain any kind of backwards compatibility at all, at

Re: Axis1/1.4 Client to MTOM WebService

2007-11-05 Thread Thilina Gunarathne
I am assuming at this point that the error is in my client-side implementation of an Axis1 MTOM client. Is there any client-side coding practices I am not following? Are there issues for MTOM support in Axis1? AFAIK MTOM is not officially supported in Axis 1.. Whatever there is a an

Re: Sharepoint Web services

2007-11-05 Thread Martin Gainty
your namespaces are not resolvable outside of Sharepoint environment Resolvable? wsdl:definitions xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; Yes xmlns:mime=http://schemas.xmlsoap.org/wsdl/mime/; Yes

Re: ExceptionInInitializerError when trying to create a new ServiceClient

2007-11-05 Thread Ted Jones
I had that issue once before. I didn't have the correct StAX jar version in my classpath. HTH, Ted Iyengar, Kumar wrote: Hi all, Has anyone seen this? It was working for me till I tried removing some of the jar files that are part of axis2. After that I added the removed

Re: ExceptionInInitializerError when trying to create a new ServiceClient

2007-11-05 Thread Anthony Bull
The ExceptionInInitialiser error also occurs in the following situations when using the xml-beans data binding: 1. You don't have all (or some) of the .xsb files in your classpath. 2. You have different versions of the .xsb files than those referenced in the .class files for the xml-beans.

axis Calendar time zones

2007-11-05 Thread Simon Steinacker
Hello, I am currently using axis 1.3, working with java Calendar objects across Web Services. I realized, that axis by default sets the timezone to GMT when serializing dates. How can I tell axis which timezone it should use? Thanks a lot, Simon

RE: axis Calendar time zones

2007-11-05 Thread Ford, Jennifer M.
Unfortunately, I don't think that's possible. You'll just have to translate to/from GMT on each end. -Original Message- From: Simon Steinacker [mailto:[EMAIL PROTECTED] Sent: Monday, November 05, 2007 2:57 PM To: axis-user@ws.apache.org; [EMAIL PROTECTED] Subject: axis Calendar time

Referring to Creating Web Services with Apache Axis -- 5/22/2002

2007-11-05 Thread Teresa Canales
I was going through your article written in 2002 on Apache Axis. Since then Axis2 has come out. I am new to Axis2 and Web Services. I was trying to follow the steps you wrote for Axis2. I was going through step 2 -- Java2WSDL: Generate WSDL File For the Given Fibonacci Interface. I ran the

Re: axis Calendar time zones

2007-11-05 Thread soloto
Simon, Does it not serialize qualifiers such as Z-1, Z+1, Z+2, etc. for one hr before zulu (UT), 1 hr behind zulu, 2 hrs behind zulu, respectively? Tom On Mon, Nov 05, 2007 at 03:04:59PM -0600, Ford, Jennifer M. wrote: Unfortunately, I don't think that's possible. You'll just have to

RE: axis Calendar time zones

2007-11-05 Thread Walker, Jeff
I think we all agreed many posts ago that it is best (if not elementary) to transfer dates via plain strings, defined in schema. It definitely doesn't cause you any integration issues since you take the date and simply build the appropriate object from it. (Surprisingly ugly, for Java). // Take a

Re: axis Calendar time zones

2007-11-05 Thread Alex Dickinson
Actually... that date format doesn't work either. Java timezones are not compatible with ISO8601 formats. The is what I ended up doing (and it is uly): private final static String[] ISO_8601_DATE_FORMATS = new String[] { -MM-dd'T'HH:mm:ss.SSSZ,

Re: Axis2 sample - pojoguide Unexpected EOF in prolog

2007-11-05 Thread Rick Isaacs
Hi Martin, Thanks for the very quick answer. The sample services work OK using when accessing the browser, but I still can not get any of the java clients to work. I have checked my axis2.xml and the transportSender for http is correct. I have tried building other java clients using the ant

Re: Referring to Creating Web Services with Apache Axis -- 5/22/2002

2007-11-05 Thread mgainty
Referring to Creating Web Services with Apache Axis -- 5/22/2002which version xerces are you running ? M-- - Original Message - Wrom: FDULHPQQWOYIYZUNN To: axis-user@ws.apache.org ; [EMAIL PROTECTED] Sent: Monday, November 05, 2007 4:18 PM Subject: Referring to Creating Web

Re: Axis2 sample - pojoguide Unexpected EOF in prolog

2007-11-05 Thread Martin Gainty
Hi Rick- I dont believe CHUNKED_ENCODING is enabled as a default?.. to verify please display contents of %CATALINA_HOME%/webapps/axis2/WEB-INF/conf/axis2.xml Also prolog error codes are caused by the parser so verifying the version of xerces is critical My xerces is located at

Re: axis Calendar time zones

2007-11-05 Thread Anthony Bull
Why don't you just set the default timezone for your web service in the skeleton init() method? Assuming all dates come through in UTC time in the XML messages, they will be converted correctly without having to do any mucking around. Alex Dickinson wrote: Actually... that date format

Re: axis Calendar time zones

2007-11-05 Thread Alex Dickinson
I wish I could have assumed that all dates were in UTC time. The back-end API I am dealing requires me to set a timezone depending on other values in the request. I will keep that in mind for the next time. Cheers, Alex Anthony Bull wrote: Why don't you just set the default timezone for your

[Axis2] Architecture: Asynchronous Web services with Axis1 and Axis2 -

2007-11-05 Thread william wallace
Hi, So far, we have used Axis1 to create a number of Web services in my project. We see it works well with the request-response message pattern. Only one issue is that we could not have Asynchronous Web services. Instead, we have had to use Socket programming for those asynchronous in nature.

RE: [Axis2] 1.3 wsdl2java generates code with missing methods

2007-11-05 Thread Pantvaidya, Vishwajit
Hi Amila, Should I try the latest nightly build now if the fix has been checked in? - Vish. From: Pantvaidya, Vishwajit [mailto:[EMAIL PROTECTED] Sent: Monday, October 29, 2007 10:43 AM To: axis-user@ws.apache.org Subject: RE: [Axis2] 1.3 wsdl2java generates

RE: [Axis2] How to specify wsdl operation so that wsdl2java generates method throwing java.lang.RemoteException

2007-11-05 Thread Pantvaidya, Vishwajit
Any suggestions here? From: Pantvaidya, Vishwajit [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 12:05 PM To: axis-user@ws.apache.org Subject: RE: [Axis2] How to specify wsdl operation so that wsdl2java generates method throwing

RE: [Axis2] Case of method names generated by wsdl2java

2007-11-05 Thread Pantvaidya, Vishwajit
Hi Amila, If this is fixed, should I try the latest nightly build? - Vish. From: Pantvaidya, Vishwajit [mailto:[EMAIL PROTECTED] Sent: Monday, October 29, 2007 10:45 AM To: axis-user@ws.apache.org Subject: RE: [Axis2] Case of method names generated by wsdl2java

Re: [axis2] WSDL2C InvocationTargetException

2007-11-05 Thread Amila Suriarachchi
please ask this question at http://ws.apache.org/axis2/c/ thanks, Amila. On 11/5/07, Michal Kulczewski [EMAIL PROTECTED] wrote: Hi folks, did anyone run into problems with converting WSDL to C structures a document containing 'any' elements? I have the same problem submitted as a bug

Please remove me from this list EOM

2007-11-05 Thread Kishore Reddy Vaddipalle
CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are

Re: [Axis2] 1.3 wsdl2java generates code with missing methods

2007-11-05 Thread Amila Suriarachchi
yes, now the nighly build should have this. On 11/6/07, Pantvaidya, Vishwajit [EMAIL PROTECTED] wrote: Hi Amila, Should I try the latest nightly build now if the fix has been checked in? - Vish. -- *From:* Pantvaidya, Vishwajit [mailto:[EMAIL

Re: [Axis2] Case of method names generated by wsdl2java

2007-11-05 Thread Amila Suriarachchi
yes On 11/6/07, Pantvaidya, Vishwajit [EMAIL PROTECTED] wrote: Hi Amila, If this is fixed, should I try the latest nightly build? - Vish. -- *From:* Pantvaidya, Vishwajit [mailto:[EMAIL PROTECTED] *Sent:* Monday, October 29, 2007 10:45 AM *To:*

Re: port name and binding name overwriting

2007-11-05 Thread Amila Suriarachchi
can you send your wsdl or a sample wsdl to show the problem? Amila. On 11/5/07, ROBINSON JULIEN [EMAIL PROTECTED] wrote: Hi all, I'm generating code from a WSDL using org.apache.axis2.tool.ant.AntCodegenTask In my WSDL, the service definition looks like this: wsdl:service

Custom dispatcher

2007-11-05 Thread Bozo Juretic
Hi Axis2 guys, first let me tell you that we really like Axis2 and consider it a great software. In fact, we have embedded it in our system (through Jetty) and it seems we'll be able to use it for some pretty cool stuff. We have a services delivery system which is using a specific technology

Re: Custom dispatcher

2007-11-05 Thread Deepal Jayasinghe
Hi Bozo Please see my comments below On 11/5/07, Bozo Juretic [EMAIL PROTECTED] wrote: Hi Axis2 guys, first let me tell you that we really like Axis2 and consider it a great software. :) In fact, we have embedded it in our system (through Jetty) and it seems we'll be able to use it for

Re: Custom dispatcher

2007-11-05 Thread Bozo Juretic
Hi Deepal! Deepal Jayasinghe wrote: Hi Bozo Please see my comments below On 11/5/07, *Bozo Juretic* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Axis2 guys, first let me tell you that we really like Axis2 and consider it a great software. :) I'm not saying this

Re: Custom dispatcher

2007-11-05 Thread Deepal Jayasinghe
But, although the custom Dispatcher is loaded, its methods (findOperation, findService, initDispatcher) are never called in the process of invoking a service/operation. The problem might be some other dispatcher which runs before your dispatcher might have found the service and operation.