axis2 [1.3] Influence the ADB generation
Hello, i wounder if there is there is a possibility to influence the generation of the ADBs. I have a XSD which defines the data structures of a webservice. I use this xsd to generate the ADBs. As the ADBs covers the hole data of my business logic i want to use them as business objects, too. So my clients create objects of them, pass the objects into my logic, I do some validation and computing and I send them via WebService easily. But therefore the ADBs must implement java.io.Serializable. Is there a possibillity to generate the ADBs implementing this interface? Thanks a lot. Greetings, Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [axis2] How to reuse service client
> Hi all, > > I need some help in order to reuse a ServiceClient the right way. > I'm creating a ServiceClient instance using a custom > ConfigurationContext and I want to add a custom header by calling > addHeader(). What shall I do before sending the second message, call > addHeader one more time (the header is the same) or it's enough to > call it only once? you can use the same ServiceClient instance and call the add method only one time. > Do I need to call cleanup/cleanupTransport between two consecutive > calls?, Better if you can , that will clean up transport senders. -Deepal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2] Question on session management in Axis2 and http sessions
> I am using Axis2 1.3 currently with the default request level session > management. I have read the available articles on wso2, etc on and > have a question about session management and how/whether it affects > management of http sessions in Axis2. I understand that setting soap > session scope means that only one Axis2 session will be created when > the correct service group id is passed by subsequent requests. > Yes, that is correct. > > Will multiple http sessions still be created (is http sessions > management still delegated to the web server?) > creating multiple http session depend on whether you send the cookies back and forth , if you send the cookie then it want create new http sessions , not only that creating http session also depend on your session scope option as well. -Deepal > > > > > > Thanks, > > > > Vish. > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat duplicating web services instances
Hi Ford, > I use Axis2 as part of our department's message broker running inside of > Tomcat 5.0.28. I have seen on our test machines some instances where, > when I look at the services page under Axis2, I see multiple instances > of the same web services, with a number after it that may correspond to > a process or a unique id or something along those lines (e.g., in > addition to DBBServices, I see DBBServices_11650 and DBBServices_10239) > in the listing, with identical methods available on those services. > Some of the code running in the same instance of Tomcat is also > executing multiple times (error emails are going out 4 at a time, for > example). Has anyone seen this occur before? > Do you make service call inside the sever I mean do you create any ServiceClient instances inside the server. If that is the case then do not worry about that , when making service class service client create AxisService instances , however those will be removed automatically . -Deepal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
locating / building minamilist config for jre 1.4.2
I tried to find the minimalist build for axis 2 but could not locate it anywhere, can someone point me to that please? I build on pc with setting for jre1.4 in eclipse and use the jars in an embedded system. In eclipse I just set the jre build level to 1.4 and thats fine Is there a setting did not see anything on that in the axis2 build scripts... I need to be able support soap based web service on tomcat 5.5 on embedded debian linux and be able to act as client. If there is a specific set of jars I can build even less than the avertised minamilist build that woud be great... do you know what i would need ? Thanks Gavan - Looking for last minute shopping deals? Find them fast with Yahoo! Search.
Re: Dynamically setting the username/password with Rampart.
Hi, Since you have used the configuration parameters username/password will not be picked up from the options object. Username/password will be given priority if you are using policy based configuration only. This is how you set username/password dynamically if you are using configuration parameter approach. OutflowConfiguration ofc = new OutflowConfiguration(); ofc.setActionItems("UsernameToken"); options.setProperty(WSSHandlerConstants.OUTFLOW_SECURITY, ofc.getProperty()); myCallback.setUTUsername("bob"); myCallback.setUTPassword("bobpass"); options.put(WSHandlerConstants.PW_CALLBACK_REF, myCallback); /* myCallback is an instance of a class extending from org.apache.ws.security.WSPasswordCallback. You should implement it. */ Then remove the password callback class given in the client.axis2.xml because there Rampart doesn't give priority to PW_CALLBAK_REF. Thanks, Dimuthu. On Wed, 2008-01-16 at 11:36 +, Sanjay Vivek wrote: > Hi everyone, > > I'm attempting to call a simple Web Service (an Echo Service) that is > protected by WS-Security UsernameToken. I'm using Axis2-1.3 and Rampart > 1.3. I've been looking at the samples given in the Apache Rampart distro > and it makes sense to me. However, in the samples given in the Rampart > distro, the username is hardcoded within the OuflowSecurity element in > the client config file (client.axis2.xml) as shown below: > > > > UsernameToken Timestamp > bob > > org.apache.rampart.samples.sample02.PWCBHandler passwordCallbackClass> > > > > > However, I want to set username/password dynamically, and I'm attempting > to use the ServiceClient to do just this. > > The code snippet below shows how I've gone about using the ServiceClient > to set the username and password: > > ConfigurationContext ctx = ConfigurationContextFactory > .createConfigurationContextFromFileSystem(axis2ConfPath, null); > > ServiceClient client = new ServiceClient(ctx, null); > OMElement payload = client.sendReceive(getPayload("Hello world")); > > Options options = new Options(); > client.engageModule(new QName("rampart")); > > options.setTo(targetEPR); > options.setAction("urn:echo"); > > options.setUserName("bob"); > options.setPassword("wspwd"); > > client.setOptions(options); > result = client.sendReceive(payload); > > However, the client seems to be picking up the value within the > element in the "OutflowSecurity" element which is defined in > client.axis2.xml (from axis2ConfPath/conf). How do I override the "user" > value in client.axis2.xml so that the client picks up the username from > 'options.setUserName("bob")'? Any help would be appreciated. Cheers. > > Regards > -- > Sanjay Vivek > Web Analyst > Middleware Team > ISS > University of Newcastle Upon Tyne > > - > 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]
AXIS 1.4 SoapEnvelope deserialization error
Hi All, I am using AXIS 1.4 for my web service needs. I am now encounting the following error when I try to send an XML over HTTP: I have a valid XML message as a string, the XML message defines a namespace at the root element like this: xmlns:ns1="somthing" Let me assume this xml string as xmltext, now I create a soap envelope with this XML message as body, the problem occurs when I try to deserialize it using soapEnvelope.toString() or soapEnvelope.getAsString(). I notice that for every local element in the original xml such as this: xxx, in the output string, I get the the following: xxx That is, there is an extra attribute with empty value. This causes problems for the receivers of the http response. Here are my code snappet: === SOAPEnvelope soapEnvelope = new SOAPEnvelope(); Element bodyElement = createDocument(xmltext).getDocumentElement(); org.apache.axis.message.SOAPBodyElement messageElement = new org.apache.axis.message.SOAPBodyElement(bodyElement); soapEnvelope.addBodyElement((SOAPBodyElement)messageElement); The createDocument(xmlText) calls the following APIs: InputSource source = new InputSource( new StringReader( xmlText ) ) ; DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setIgnoringElementContentWhitespace(false); DocumentBuilder docBuilder = factory.newDocumentBuilder(); return docBuilder.parse(source); It seems to me that AXIS has a bug handling this case. Any help is very much appreciated! Thanks! Frank any help is very much appreciated. Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Axis 1.3 Client Hangs when used with Non-Axis SOAP Server
Hello All, Appreciate any help in this issue. We are using Axis 1.3 SOAP Client with a Non-Axis Soap Server ( Sun Metro ). The server is using persistent connection. This is causing the Axis client to hang till the timeout occurs either by client or server. We found a bit of information at http://www.mail-archive.com/[EMAIL PROTECTED]/msg08739.html . Is there is fix/workaround ? I also feel that it does not really matter if the client uses to close the connection ie specifies "Connection: close". I believe, axis client in this case relies on the server to close the connection. Thanks John Eapen
Bouncy Castle JCE provider and WSS4J
Hell, Does WSS4J have a hard dependency on Bouncycastle JCE or I can use any JCE provider (or Sun's provided)? Thanks! ** 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. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. **
Re: Policy driven code generation problem Axis v1.3
Anyone have any ideas? Attached are the wsdl and related policy documents as requested. Thx again! -P > Hello, > > Can someone say if the Axis2 v1.3 code generator (eclipse plugin) supports WS-Policy 1.2? Or just 1.5? Or ? > > I can't get Axis 2 to generate the stubs with any policy code, this was for policy v1.2... > > I did try to change the name space definition for policy in the WSDL to v1.5 to see if that would cause it to do anything different, but that didn't do anything. I also removed a non standard policy element, that did not change the behavior either. > > No errors/warnings, etc... (Using eclipse plugin v1.3) > > Thanks for any assistance! > -P Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ http://schemas.xmlsoap.org/wsdl/http/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:s="http://www.w3.org/2001/XMLSchema"; xmlns:sTMCN04="http://GetSettleDate.Calendar.x4mlsoa.com/CA/SOCALEND/TMCALN04"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy/"; xmlns:p="http://GetSettleDate.Calendar.x4mlsoa.com/CA/SOCALEND/TMCALN04"; targetNamespace="http://GetSettleDate.Calendar.x4mlsoa.com/CA/SOCALEND/TMCALN04"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns="http://schemas.xmlsoap.org/wsdl/";> http://GetSettleDate.Calendar.x4mlsoa.com/CA/SOCALEND/TMCALN04";> The description of enumerated value is listed as follows :-- 1. CALENDAR-OK value--> http://schemas.xmlsoap.org/soap/http"; style="document"/>http://GetSettleDate.Calendar.x4mlsoa.com/CA/SOCALEND/TMCALN04"; style="document"/>http://SYSD/CICS/XML3/XMLPC003?Request=Policy&Template=TMCALN04&Type=Input"/>http://SYSD/CICS/XML3/XMLPC003?Request=Policy&Template=TMCALN04&Type=Output"/>http://SYSD/CICS/XML/XMLPC000"/>http://schemas.xmlsoap.org/ws/2004/09/policy"; xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat duplicating web services instances
I use Axis2 as part of our department's message broker running inside of Tomcat 5.0.28. I have seen on our test machines some instances where, when I look at the services page under Axis2, I see multiple instances of the same web services, with a number after it that may correspond to a process or a unique id or something along those lines (e.g., in addition to DBBServices, I see DBBServices_11650 and DBBServices_10239) in the listing, with identical methods available on those services. Some of the code running in the same instance of Tomcat is also executing multiple times (error emails are going out 4 at a time, for example). Has anyone seen this occur before? Thanks, Jennifer Ford - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Axis2] How Do I Set mustUnderstand="0"?
Is there any way to configure mustUnderstand non-programatically? I may sometimes want it to be "0" and sometimes want it to be "1". -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 10:37 AM To: axis-user@ws.apache.org Subject: Re: [Axis2] How Do I Set mustUnderstand="0"? Westpine- You can do so programatically..e.g. ConfigurationContext cfgCtx = ConfigurationContextFactory.createDefaultConfigurationContext(); msgCtxt = cfgCtx.createMessageContext(); msgCtxt.setProperty(AddressingConstants.ADD_MUST_UNDERSTAND_TO_ADDRESSING_HE ADERS, Boolean.TRUE); M- - Original Message - From: "westpine" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 16, 2008 4:08 AM Subject: Re: [Axis2] How Do I Set mustUnderstand="0"? > > Hi! I have a little bit similar problem. But I need mustUnderstand attribute > to be vanished completely, not just set to "0". Because I have error "The > request failed schema validation: The > 'http://schemas.xmlsoap.org/soap/envelope/:mustUnderstand' attribute is not > declared." Do you know how to do that? Thanks! > -- > View this message in context: http://www.nabble.com/-Axis2--How-Do-I-Set-mustUnderstand%3D%220%22--tp13502 520p14875061.html > Sent from the Axis - User mailing list archive at Nabble.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: WSDL import and schemaLocation
Hard coded values did the trick. But it is not good for me. I ran into other problem my xsd imports many other schema which uses the relative path. Even my WSDL file uses many schema. It is very error prone to edit the location. I might have to think something different. Any help would be highly appreciated. regards - Original Message - From: "prasad c iyer" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 16, 2008 9:28 AM Subject: Re: WSDL import and schemaLocation Yeah maybe I should try that. Want to know one more thing is there a specific reason why it is implemented that way. Coz in real life WSDL files and schema would be developed by some other parties which you would use it. If they implement schema location with the relative path there is a problem. One more thing if I set useOriginalWSDL parameter to false, the generated WSDL should have entire path to the schema file. I have not tried doing it. many thanks - Original Message - From: "keith chapman" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 15, 2008 6:16 PM Subject: Re: WSDL import and schemaLocation If you need an absolute URI in there you can try saving the WSDL to your hard disk, Update it manually to have an absolute URI and then add it to the META-INF folder of your aar. Also add the parameter useOriginalWSDL="true" to your services.xml. Thanks, Keith. On Jan 16, 2008 5:18 AM, prasad c iyer <[EMAIL PROTECTED]> wrote: I did used WSDL2Java tool. What I'm trying to do is consume the service using PHP. But when I query the WSDL file it returns me the following schema location. I don't think it takes care of this. regards - Original Message - From: Amila Suriarachchi To: axis-user@ws.apache.org Sent: Monday, January 14, 2008 8:04 PM Subject: Re: WSDL import and schemaLocation On Jan 15, 2008 9:08 AM, prasad c iyer <[EMAIL PROTECTED]> wrote: > > > Hi, > I am creating the client for an existing web service. My problem is > the schemaLocation is points to the relative path. Is there a way to resolve this. So that my client can download the schema. Are you using wsdl2java with Axis2? it can handle the relative schemaLocations. I think any tool would do this. thanks, Amila. > > > > > > http://localhost:8080/my-app/services/BankServices " xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:tns="http://localhost:8080/my-app/services/BankServices"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:bank="http://localhost:8080/my-app/services/BankServices/types"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";> > > >http://localhost:8080/my-app/services/BankServices/types"; schemaLocation="BankServices?xsd=xsd0.xsd"/> > > > > > > regards > -- Amila Suriarachchi, WSO2 Inc. -- Keith Chapman Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org - 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: WSDL import and schemaLocation
Yeah maybe I should try that. Want to know one more thing is there a specific reason why it is implemented that way. Coz in real life WSDL files and schema would be developed by some other parties which you would use it. If they implement schema location with the relative path there is a problem. One more thing if I set useOriginalWSDL parameter to false, the generated WSDL should have entire path to the schema file. I have not tried doing it. many thanks - Original Message - From: "keith chapman" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 15, 2008 6:16 PM Subject: Re: WSDL import and schemaLocation If you need an absolute URI in there you can try saving the WSDL to your hard disk, Update it manually to have an absolute URI and then add it to the META-INF folder of your aar. Also add the parameter useOriginalWSDL="true" to your services.xml. Thanks, Keith. On Jan 16, 2008 5:18 AM, prasad c iyer <[EMAIL PROTECTED]> wrote: I did used WSDL2Java tool. What I'm trying to do is consume the service using PHP. But when I query the WSDL file it returns me the following schema location. I don't think it takes care of this. regards - Original Message - From: Amila Suriarachchi To: axis-user@ws.apache.org Sent: Monday, January 14, 2008 8:04 PM Subject: Re: WSDL import and schemaLocation On Jan 15, 2008 9:08 AM, prasad c iyer <[EMAIL PROTECTED]> wrote: > > > Hi, > I am creating the client for an existing web service. My problem is the schemaLocation is points to the relative path. Is there a way to resolve this. So that my client can download the schema. Are you using wsdl2java with Axis2? it can handle the relative schemaLocations. I think any tool would do this. thanks, Amila. > > > > > > http://localhost:8080/my-app/services/BankServices " xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:tns="http://localhost:8080/my-app/services/BankServices"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:bank="http://localhost:8080/my-app/services/BankServices/types"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";> > > >http://localhost:8080/my-app/services/BankServices/types"; schemaLocation="BankServices?xsd=xsd0.xsd"/> > > > > > > regards > -- Amila Suriarachchi, WSO2 Inc. -- Keith Chapman Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org - 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] problems getting resources included into aar file
Hi all, I have a problem in using a configuration file which is included into my service archive -- in particular the file is not found even if it's actually available. I'm running tomcat 5.5 and axis2 1.3 on Linux. Here is the error message ncl.qosp.controller.WorkerConfiguration.createConfigurationContext(WorkerConfiguration.java:177) WARN [main] - System can not find the given axis2.xml file:/work/michele/router/work/Catalina/localhost/axis2/axis258407RoutingService.aar!/ncl/qosp/controller/worker_axis2.xml but as I said the file is available jar tf RoutingService.aar |grep worker_axis2.xml ncl/qosp/controller/worker_axis2.xml Any idea? Thanks, Michele - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis2] Question on session management in Axis2 and http sessions
I am using Axis2 1.3 currently with the default request level session management. I have read the available articles on wso2, etc on and have a question about session management and how/whether it affects management of http sessions in Axis2. I understand that setting soap session scope means that only one Axis2 session will be created when the correct service group id is passed by subsequent requests. Will multiple http sessions still be created (is http sessions management still delegated to the web server?) Thanks, Vish.
RE: secure web services
No. Start with risk assessment. XML-SOAP messages burrow thru most firewalls. The orchestration of services to provide composite services means that SSL is insufficient. SSL is transport layer security and provides only point to point security---creates a very useful pipe. Even though SSL is an important part of a layered approach, it is NOT end to end. WS-Security is designed to create content layer security---end-end. The customer facing apps in question are either: 1) looking for low latency because customers want rapid interaction or 2) looking for greater assurance because customers are concerned about their financial information. What is the vertical? What are your thruput requirements and document size support required? Have you looked at our products that can support AXIS? www.intel.com/software/xml . Dave David E.A. Johnson Director, Digital Security Products Intel Corporation SSG-ESSD 1815 S. Meyers Rd., Suite 150 Oakbrook Terrace, Illinois 60441 770-433-3272 direct 404-769-7207 mobile From: Hoda, Nadeem [USA] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 5:52 AM To: axis-user@ws.apache.org Subject: RE: secure web services Also, depending on the specific requirements, for simple security requirements, SSL is sufficient for security as it provides a highly secured channel of communication between service provider and consumer. Nadeem From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 5:33 PM To: axis-user@ws.apache.org Subject: RE: secure web services Hi , Maybe you can use rampart for signing and encrypting you Soap-messages. See. http://ws.apache.org/axis2/modules/rampart/1_0/security-module.html Dirk -Original Message- From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] Sent: woensdag 16 januari 2008 12:16 To: axis-user@ws.apache.org Subject: secure web services Hello, I'm posting a new web service with critical functionality for my company. Our customers will communicate with us thru this new features. I would like to know what is a good approach to security in this case. Thank you Rodrigo This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. The information transmitted via this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
RE: secure web services
Yes, my ws is running over https, but I mean security the fact that nobody other than our customer access to this guy. I'm looking at rampart but the doc seems not to be very up to date, it says that the rampart module comes with the axis2 distro but there is no rampart.mar file in there. Any idea ? From: Hoda, Nadeem [USA] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 11:52 AM To: axis-user@ws.apache.org Subject: RE: secure web services Also, depending on the specific requirements, for simple security requirements, SSL is sufficient for security as it provides a highly secured channel of communication between service provider and consumer. Nadeem From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 5:33 PM To: axis-user@ws.apache.org Subject: RE: secure web services Hi , Maybe you can use rampart for signing and encrypting you Soap-messages. See. http://ws.apache.org/axis2/modules/rampart/1_0/security-module.html Dirk -Original Message- From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] Sent: woensdag 16 januari 2008 12:16 To: axis-user@ws.apache.org Subject: secure web services Hello, I'm posting a new web service with critical functionality for my company. Our customers will communicate with us thru this new features. I would like to know what is a good approach to security in this case. Thank you Rodrigo This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. The information transmitted via this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately.
Re: [Axis2] How Do I Set mustUnderstand="0"?
Westpine- You can do so programatically..e.g. ConfigurationContext cfgCtx = ConfigurationContextFactory.createDefaultConfigurationContext(); msgCtxt = cfgCtx.createMessageContext(); msgCtxt.setProperty(AddressingConstants.ADD_MUST_UNDERSTAND_TO_ADDRESSING_HE ADERS, Boolean.TRUE); M- - Original Message - From: "westpine" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 16, 2008 4:08 AM Subject: Re: [Axis2] How Do I Set mustUnderstand="0"? > > Hi! I have a little bit similar problem. But I need mustUnderstand attribute > to be vanished completely, not just set to "0". Because I have error "The > request failed schema validation: The > 'http://schemas.xmlsoap.org/soap/envelope/:mustUnderstand' attribute is not > declared." Do you know how to do that? Thanks! > -- > View this message in context: http://www.nabble.com/-Axis2--How-Do-I-Set-mustUnderstand%3D%220%22--tp13502 520p14875061.html > Sent from the Axis - User mailing list archive at Nabble.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]
Underlying implementations of SOAPBody, SOAPElement etc.
Hi All I'm not sure this is exactly the place to be asking but I can't think of anywhere else so here goes. I have the same piece of code running on two different Tomcat installations, one Tomcat 5.0, the other Tomcat 5.5. The code calls and web service and produces a javax.xml.soap.SOAPMessage in response. Having noticed a slight difference in behaviour I debugged and found that on the Tomcat 5.0 system the underlying implementations of the javax.xml.soap interfaces (SOAPBody, SOAPElement etc.) were Axis classes such as org.apache.axis.message.SOAPBody. On the Tomcat 5.5 system the underlying implementations are all from a com.sun.xml.internal.messaging.saaj.soap.impl package. My question is what would be causing this difference, I though perhaps libraries in Tomcat but have tried replacing all my libraries on Tomcat 5.0(including common, endorsed and those in the webapp) with those from Tomcat 5.5 but that didn't make any difference. Has anyone got any more ideas? -- Chris Mannion iCasework and LocalAlert implementation team 0208 144 4416
[axis2] How to reuse service client
Hi all, I need some help in order to reuse a ServiceClient the right way. I'm creating a ServiceClient instance using a custom ConfigurationContext and I want to add a custom header by calling addHeader(). What shall I do before sending the second message, call addHeader one more time (the header is the same) or it's enough to call it only once? Do I need to call cleanup/cleanupTransport between two consecutive calls?, the MEP is asynchronous and it uses a common AxisCallback object to retrieve the responses from the server. Thanks, Michele - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: secure web services
Also, depending on the specific requirements, for simple security requirements, SSL is sufficient for security as it provides a highly secured channel of communication between service provider and consumer. Nadeem From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 5:33 PM To: axis-user@ws.apache.org Subject: RE: secure web services Hi , Maybe you can use rampart for signing and encrypting you Soap-messages. See. http://ws.apache.org/axis2/modules/rampart/1_0/security-module.html Dirk -Original Message- From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] Sent: woensdag 16 januari 2008 12:16 To: axis-user@ws.apache.org Subject: secure web services Hello, I'm posting a new web service with critical functionality for my company. Our customers will communicate with us thru this new features. I would like to know what is a good approach to security in this case. Thank you Rodrigo This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. The information transmitted via this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
RE: secure web services
Hi , Maybe you can use rampart for signing and encrypting you Soap-messages. See. http://ws.apache.org/axis2/modules/rampart/1_0/security-module.html Dirk -Original Message- From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] Sent: woensdag 16 januari 2008 12:16 To: axis-user@ws.apache.org Subject: secure web services Hello, I'm posting a new web service with critical functionality for my company. Our customers will communicate with us thru this new features. I would like to know what is a good approach to security in this case. Thank you Rodrigo This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. The information transmitted via this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
Dynamically setting the username/password with Rampart.
Hi everyone, I'm attempting to call a simple Web Service (an Echo Service) that is protected by WS-Security UsernameToken. I'm using Axis2-1.3 and Rampart 1.3. I've been looking at the samples given in the Apache Rampart distro and it makes sense to me. However, in the samples given in the Rampart distro, the username is hardcoded within the OuflowSecurity element in the client config file (client.axis2.xml) as shown below: UsernameToken Timestamp bob org.apache.rampart.samples.sample02.PWCBHandler However, I want to set username/password dynamically, and I'm attempting to use the ServiceClient to do just this. The code snippet below shows how I've gone about using the ServiceClient to set the username and password: ConfigurationContext ctx = ConfigurationContextFactory .createConfigurationContextFromFileSystem(axis2ConfPath, null); ServiceClient client = new ServiceClient(ctx, null); OMElement payload = client.sendReceive(getPayload("Hello world")); Options options = new Options(); client.engageModule(new QName("rampart")); options.setTo(targetEPR); options.setAction("urn:echo"); options.setUserName("bob"); options.setPassword("wspwd"); client.setOptions(options); result = client.sendReceive(payload); However, the client seems to be picking up the value within the element in the "OutflowSecurity" element which is defined in client.axis2.xml (from axis2ConfPath/conf). How do I override the "user" value in client.axis2.xml so that the client picks up the username from 'options.setUserName("bob")'? Any help would be appreciated. Cheers. Regards -- Sanjay Vivek Web Analyst Middleware Team ISS University of Newcastle Upon Tyne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
secure web services
Hello, I'm posting a new web service with critical functionality for my company. Our customers will communicate with us thru this new features. I would like to know what is a good approach to security in this case. Thank you Rodrigo This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately.
Re: client for a secure conversation
http://www.google.com/search?hl=en&client=safari&rls=en&q=apache +rampart+mailing+list&btnG=Search On 16 Jan 2008, at 10:22, Antonio Manuel Muñiz Martín wrote: Which is the adderss of Rampart list? 2008/1/15, Nandana Mihindukulasooriya <[EMAIL PROTECTED]>: Hi Anil, I would like to get a reference to writing a client for a secure conversation using the rampart module, I saw the sample 4 in the samples with the rampart module and it does not help me show how to send multiple messages in a single secure conversation. Replied to your mail regarding this in the Rampart list. Thanks, Nandana - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis2 client and axis1 server with use=encoded
Ilon Sjögren ha scritto: I got a problem with integrating with a axis1 server that is using encoded. Is there a way to use axis2 on the client tho the server is using axis1? I'm not able to change ANYTHING on the server-side, the server is totally out of our control, and the only thing we're supplied with is the WSDL-file. When i try to use WSDL2Java it says: [ERROR] Encoded use is not supported org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException: Encoded use is not supported I've tried to search for a guide on axis1 on the internet, but all i find is how to migrate towards axis2. Cheers. As of now, Axis2 does not support RPC/encoded style for web services, while Axis2 supported it. Axis2 developers as said they want to add such support into next release of Axis2, 1.4, which should be available for the end of february. So, as far as I know, by now if you want to call a web server that exposes RCP/encoded WSDLs, you'll have to use another engine to generate client code (maybe Axis1). -- Mauro Molinari Software Developer [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: client for a secure conversation
Which is the adderss of Rampart list? 2008/1/15, Nandana Mihindukulasooriya <[EMAIL PROTECTED]>: > > Hi Anil, > > I would like to get a reference to writing a client for a secure > > conversation using the rampart module, I saw the sample 4 in the samples > > with the rampart module and it does not help me show how to send multiple > > messages in a single secure conversation. > > > Replied to your mail regarding this in the Rampart list. > > Thanks, > Nandana > >
axis2 client and axis1 server with use=encoded
I got a problem with integrating with a axis1 server that is using encoded. Is there a way to use axis2 on the client tho the server is using axis1? I'm not able to change ANYTHING on the server-side, the server is totally out of our control, and the only thing we're supplied with is the WSDL-file. When i try to use WSDL2Java it says: [ERROR] Encoded use is not supported org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException:Encoded use is not supported I've tried to search for a guide on axis1 on the internet, but all i find is how to migrate towards axis2. Cheers.
Re: [Axis2] java.util.regex.PatternSyntaxException
Created AXIS2-3453 Michele On 16 Jan 2008, at 09:46, David Illsley wrote: Hi Michele, It looks like the problem is that spliting that string results in invalid regular expressions i.e. * must follow a character. I added the following to org.apache.axis2.transport.http.ProxyConfiguration.validateNonProxyHos ts(String) and no longer get the exception and the matching seem to work: if(a.startsWith("*")){a = "."+a;} However, I'm not sure if this is on a performance critical path, so please open a JIRA with this information and someone more familar with the transport should take a look and perhaps come up with a better fix. Thanks, David On Jan 15, 2008 4:48 PM, Michele Mazzucco <[EMAIL PROTECTED]> wrote: David, here it is localhost|*.localhost|ncl.ac.uk|*.ncl.ac.uk Michele p.s. with localhost as first element it works fine in the synchronous version -- but as soon as I add a callback if fails as well On 15 Jan 2008, at 16:40, David Illsley wrote: Michele, could you add code to your client to sysout System.getProperty(HTTP_NON_PROXY_HOSTS) so it's possible to tell what regex might be failing? Thanks, David On Jan 15, 2008 4:09 PM, Michele Mazzucco <[EMAIL PROTECTED]> wrote: Some more information. Everything works fine with Axis2 1.2. Michele On 15 Jan 2008, at 16:02, Michele Mazzucco wrote: Hello again, apparently this problem has already been raised here http://www.mail-archive.com/axis-user@ws.apache.org/msg35891.html Any idea? Thanks, Michele On 15 Jan 2008, at 15:30, Michele Mazzucco wrote: Hi all, can anybody tell me what's going on here?, the code used to create the payload and options is the following SOAPFactory factory = OMAbstractFactory.getSOAP12Factory(); OMNamespace omns = factory.getNamespace(); OMElement payload = factory.createOMElement ("hello", omns); payload.setText("text"); ServiceClient sender = new ServiceClient (this.configContext, null); Options options = new Options(); options.setTo(new EndpointReference("http:// localhost:10001/ axis2/services/EchoXml")); logger.info("Message is going to: " + options.getTo ()); options.setTransportInProtocol (Constants.TRANSPORT_HTTP); options.setCallTransportCleanup(true); options.setAction("urn:echo"); sender.setOptions(options); OMElement result = sender.sendReceive(payload); try { result.serialize(System.out); } catch (XMLStreamException e) { logger.error(e); } Axis2 runs embedded using SimpleHTTPServer while the target EPR is set to localhost. Why is it complaining about '*'? Where does it get the domain? Thanks, Michele 0 [main] DEBUG org.apache.axiom.om.util.StAXUtils - XMLStreamReader is com.ctc.wstx.sr.ValidatingStreamReader 229 [main] DEBUG org.apache.axis2.engine.Phase - Handler RequestURIBasedDispatcher added to Phase Transport 238 [main] DEBUG org.apache.axis2.engine.Phase - Handler SOAPActionBasedDispatcher added to Phase Transport 242 [main] DEBUG org.apache.axis2.engine.Phase - Handler AddressingBasedDispatcher added to Phase Addressing 245 [main] DEBUG org.apache.axis2.engine.Phase - Handler RequestURIBasedDispatcher added to Phase Dispatch 246 [main] DEBUG org.apache.axis2.engine.Phase - Handler SOAPActionBasedDispatcher added to Phase Dispatch 249 [main] DEBUG org.apache.axis2.engine.Phase - Handler RequestURIOperationDispatcher added to Phase Dispatch 251 [main] DEBUG org.apache.axis2.engine.Phase - Handler SOAPMessageBodyBasedDispatcher added to Phase Dispatch 253 [main] DEBUG org.apache.axis2.engine.Phase - Handler HTTPLocationBasedDispatcher added to Phase Dispatch 254 [main] DEBUG org.apache.axis2.engine.Phase - Handler AddressingBasedDispatcher added to Phase Addressing 254 [main] DEBUG org.apache.axis2.engine.Phase - Handler RequestURIBasedDispatcher added to Phase Dispatch 254 [main] DEBUG org.apache.axis2.engine.Phase - Handler SOAPActionBasedDispatcher added to Phase Dispatch 255 [main] DEBUG org.apache.axis2.engine.Phase - Handler RequestURIOperationDispatcher added to Phase Dispatch 255 [main] DEBUG org.apache.axis2.engine.Phase - Handler SOAPMessageBodyBasedDispatcher added to Phase Dispatch 255 [main] DEBUG org.apache.axis2.engine.Phase - Handler HTTPLocationBasedDispatcher added to Phase Dispatch 437 [main] INFO org.apache.axis2.deployment.util.Utils - Created temporary file : /tmp/_axis2/axis263443addressing-1.3.mar 476 [main] DEBUG org.apache.axiom.om.util.StAXUtils - XMLStreamReader is com.ctc.wstx.sr.ValidatingStreamReader 526 [main] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - getBundle (org.apache.axis2,org.apache.axis2.i18n,resource,null,...) 549 [main] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis2.r
RE: Problem WS-addressing
Paul. Firewall is off. Dirk -Original Message- From: Paul Fremantle [mailto:[EMAIL PROTECTED] Sent: woensdag 16 januari 2008 10:42 To: axis-user@ws.apache.org Subject: Re: Problem WS-addressing Dirk This might be a firewall problem. Paul On Jan 16, 2008 9:27 AM, <[EMAIL PROTECTED]> wrote: > > > > > > > Hello, > > > > I am having a problem with Axis using Addressing. I have noticed a lot of > you also have. > > The problem of not able to engage addressing I have solved using this info, > (thx for that) > > > > When I start my client-app , it's indication it starts a listener on port > 6060 (default) for the callback. > > However when the web-service is trying to send the response it is timed-out. > > > > When inspecting this with netstat It seems there isn't a listener on port > 6060 active. > > Anyone got an idea.? > > > > > > > > > > public class BizRegClient { > > public static void main(String[] args) throws RemoteException { > > ConfigurationContext cc = > ConfigurationContextFactory.createConfigurationContextFromFileSystem( > > "c:/axis/repository"); > > ManualServiceStub stub = new ManualServiceStub(cc); > > final ServiceClient serviceClient = stub._getServiceClient(); > > > > serviceClient.engageModule("addressing"); > > > > Options options = serviceClient.getOptions(); > > options.setUseSeparateListener(true); > > > > Register request = new Register(); > > > > . > > > > .. > > } > > } > > > > Dirk van Gameren > > --- > > Developer Consumer Finance > > ( Phone number: +31 (0)40 233 9586 > Ê Fax number: +31 (0)40 233 8655 > * E-mail: [EMAIL PROTECTED] > > --- > > > > > The information transmitted via this e-mail is intended only for the person > or entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or other use > of, or taking of any action in reliance upon this information by persons or > entities other than the intended recipient is prohibited. If you received > this in error, please contact the sender and delete the material from any > computer. > > -- Paul Fremantle Co-Founder and VP of Technical Sales, WSO2 OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information transmitted via this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2] java.util.regex.PatternSyntaxException
Hi Michele, It looks like the problem is that spliting that string results in invalid regular expressions i.e. * must follow a character. I added the following to org.apache.axis2.transport.http.ProxyConfiguration.validateNonProxyHosts(String) and no longer get the exception and the matching seem to work: if(a.startsWith("*")){a = "."+a;} However, I'm not sure if this is on a performance critical path, so please open a JIRA with this information and someone more familar with the transport should take a look and perhaps come up with a better fix. Thanks, David On Jan 15, 2008 4:48 PM, Michele Mazzucco <[EMAIL PROTECTED]> wrote: > David, here it is > localhost|*.localhost|ncl.ac.uk|*.ncl.ac.uk > > Michele > > p.s. with localhost as first element it works fine in the synchronous > version -- but as soon as I add a callback if fails as well > > > On 15 Jan 2008, at 16:40, David Illsley wrote: > > > Michele, could you add code to your client to sysout > > System.getProperty(HTTP_NON_PROXY_HOSTS) so it's possible to tell what > > regex might be failing? > > Thanks, > > David > > > > On Jan 15, 2008 4:09 PM, Michele Mazzucco > > <[EMAIL PROTECTED]> wrote: > >> Some more information. Everything works fine with Axis2 1.2. > >> > >> > >> Michele > >> > >> > >> On 15 Jan 2008, at 16:02, Michele Mazzucco wrote: > >> > >>> Hello again, > >>> > >>> apparently this problem has already been raised here > >>> http://www.mail-archive.com/axis-user@ws.apache.org/msg35891.html > >>> > >>> Any idea? > >>> > >>> Thanks, > >>> Michele > >>> > >>> On 15 Jan 2008, at 15:30, Michele Mazzucco wrote: > >>> > Hi all, > > can anybody tell me what's going on here?, the code used to create > the payload and options is the following > > SOAPFactory factory = OMAbstractFactory.getSOAP12Factory(); > OMNamespace omns = factory.getNamespace(); > OMElement payload = factory.createOMElement > ("hello", omns); > payload.setText("text"); > > ServiceClient sender = new ServiceClient > (this.configContext, null); > Options options = new Options(); > options.setTo(new EndpointReference("http:// > localhost:10001/ > axis2/services/EchoXml")); > > logger.info("Message is going to: " + options.getTo > ()); > options.setTransportInProtocol > (Constants.TRANSPORT_HTTP); > options.setCallTransportCleanup(true); > options.setAction("urn:echo"); > > sender.setOptions(options); > > OMElement result = sender.sendReceive(payload); > try { > result.serialize(System.out); > } catch (XMLStreamException e) { > logger.error(e); > } > > Axis2 runs embedded using SimpleHTTPServer while the target EPR is > set to localhost. Why is it complaining about '*'? Where does it > get the domain? > > > Thanks, > Michele > > > 0 [main] DEBUG org.apache.axiom.om.util.StAXUtils - > XMLStreamReader is com.ctc.wstx.sr.ValidatingStreamReader > 229 [main] DEBUG org.apache.axis2.engine.Phase - Handler > RequestURIBasedDispatcher added to Phase Transport > 238 [main] DEBUG org.apache.axis2.engine.Phase - Handler > SOAPActionBasedDispatcher added to Phase Transport > 242 [main] DEBUG org.apache.axis2.engine.Phase - Handler > AddressingBasedDispatcher added to Phase Addressing > 245 [main] DEBUG org.apache.axis2.engine.Phase - Handler > RequestURIBasedDispatcher added to Phase Dispatch > 246 [main] DEBUG org.apache.axis2.engine.Phase - Handler > SOAPActionBasedDispatcher added to Phase Dispatch > 249 [main] DEBUG org.apache.axis2.engine.Phase - Handler > RequestURIOperationDispatcher added to Phase Dispatch > 251 [main] DEBUG org.apache.axis2.engine.Phase - Handler > SOAPMessageBodyBasedDispatcher added to Phase Dispatch > 253 [main] DEBUG org.apache.axis2.engine.Phase - Handler > HTTPLocationBasedDispatcher added to Phase Dispatch > 254 [main] DEBUG org.apache.axis2.engine.Phase - Handler > AddressingBasedDispatcher added to Phase Addressing > 254 [main] DEBUG org.apache.axis2.engine.Phase - Handler > RequestURIBasedDispatcher added to Phase Dispatch > 254 [main] DEBUG org.apache.axis2.engine.Phase - Handler > SOAPActionBasedDispatcher added to Phase Dispatch > 255 [main] DEBUG org.apache.axis2.engine.Phase - Handler > RequestURIOperationDispatcher added to Phase Dispatch > 255 [main] DEBUG org.apache.axis2.engine.Phase - Handler > SOAPMessageBodyBasedDispatcher added to Phase Dispatch > 255 [main] DEBUG org.apache.axis2.engine.Phase - Handler > HTTPLocationBasedDispatcher added
Re: Problem WS-addressing
Dirk This might be a firewall problem. Paul On Jan 16, 2008 9:27 AM, <[EMAIL PROTECTED]> wrote: > > > > > > > Hello, > > > > I am having a problem with Axis using Addressing. I have noticed a lot of > you also have. > > The problem of not able to engage addressing I have solved using this info, > (thx for that) > > > > When I start my client-app , it's indication it starts a listener on port > 6060 (default) for the callback. > > However when the web-service is trying to send the response it is timed-out. > > > > When inspecting this with netstat It seems there isn't a listener on port > 6060 active. > > Anyone got an idea.? > > > > > > > > > > public class BizRegClient { > > public static void main(String[] args) throws RemoteException { > > ConfigurationContext cc = > ConfigurationContextFactory.createConfigurationContextFromFileSystem( > > "c:/axis/repository"); > > ManualServiceStub stub = new ManualServiceStub(cc); > > final ServiceClient serviceClient = stub._getServiceClient(); > > > > serviceClient.engageModule("addressing"); > > > > Options options = serviceClient.getOptions(); > > options.setUseSeparateListener(true); > > > > Register request = new Register(); > > > > ….. > > > > …… > > } > > } > > > > Dirk van Gameren > > --- > > Developer Consumer Finance > > ( Phone number: +31 (0)40 233 9586 > Ê Fax number: +31 (0)40 233 8655 > * E-mail: [EMAIL PROTECTED] > > --- > > > > > The information transmitted via this e-mail is intended only for the person > or entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or other use > of, or taking of any action in reliance upon this information by persons or > entities other than the intended recipient is prohibited. If you received > this in error, please contact the sender and delete the material from any > computer. > > -- Paul Fremantle Co-Founder and VP of Technical Sales, WSO2 OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem WS-addressing
Hello, I am having a problem with Axis using Addressing. I have noticed a lot of you also have. The problem of not able to engage addressing I have solved using this info, (thx for that) When I start my client-app , it's indication it starts a listener on port 6060 (default) for the callback. However when the web-service is trying to send the response it is timed-out. When inspecting this with netstat It seems there isn't a listener on port 6060 active. Anyone got an idea.? public class BizRegClient { public static void main(String[] args) throws RemoteException { ConfigurationContext cc = ConfigurationContextFactory.createConfigurationContextFromFileSystem( "c:/axis/repository"); ManualServiceStub stub = new ManualServiceStub(cc); final ServiceClient serviceClient = stub._getServiceClient(); serviceClient.engageModule("addressing"); Options options = serviceClient.getOptions(); options.setUseSeparateListener(true); Register request = new Register(); . .. } } Dirk van Gameren --- Developer Consumer Finance * Phone number: +31 (0)40 233 9586 * Fax number: +31 (0)40 233 8655 * E-mail: [EMAIL PROTECTED] --- The information transmitted via this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
Re: [Axis2] How Do I Set mustUnderstand="0"?
Hi! I have a little bit similar problem. But I need mustUnderstand attribute to be vanished completely, not just set to "0". Because I have error "The request failed schema validation: The 'http://schemas.xmlsoap.org/soap/envelope/:mustUnderstand' attribute is not declared." Do you know how to do that? Thanks! -- View this message in context: http://www.nabble.com/-Axis2--How-Do-I-Set-mustUnderstand%3D%220%22--tp13502520p14875061.html Sent from the Axis - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Question on JDK1.6 with Axis2
Hi Deepal, Thanks for your reply. Just on your last comment, did you mean there may not be any issues using JDK1.6 or you mean it cannot be a fair assumption to make? Cheers Natraj. -Original Message- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: 16 January 2008 04:55 To: axis-user@ws.apache.org Subject: Re: Question on JDK1.6 with Axis2 > Hi Guys, > > I was looking at the realeses section under apache site and could > locate Axis2 1.3 listed. I assume this is the stable version being > offered ( i dont see 1.4 still ). Yes , Axis2 1.3 is very stable versions , and we did not find any critical issues after we do the release. > Looking at http://ws.apache.org/axis2/1_3/installationguide.html i see > a section which speaks of using any JDK higher to 1.4. No we do support JDK 1.4 as well (and the code is based on 1.4) > Will it be a fair assumption to say Axis2 1.3 would work with JDK 1.6. > Do you guys see any forseeable issues, which might have been noted > already. Nope. -Deepal - 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 WAR
Hello, I am using Axis 2 for the first time and my knowledge of webservices is limited to say the least. I was wondering if somebody could help me out with a solution to what i am trying to achieve. 1. Is it possible to deploy 2 WAR's, mine and the Axis2 WAR and have a web service client in my WAR, use the dependant jars in the Axis2 WAR to make it's requests! That may be a bit of a convoluted explanation but hopefully it makes sense. The reason I am interested in this solution is I am having alot of trouble embedding Axis2 in my webapp as there seems to be dependencies missing and conflicts between jar files that are causing me alot of pain! Documentation on adding Axis2 dependencies to a Maven POM file, seems to be scarce. Hopefully somebody can help or point out what i am doing wrong, it may be how i am approaching this that is the problem -- View this message in context: http://www.nabble.com/Axis2-WAR-tp14873591p14873591.html Sent from the Axis - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]