wsdlLocation property of Implementation class by Wsdl2Java

2015-02-02 Thread srinivas thallapalli
Hi, Do we have any configuration property or control on wsdlLocation property of the @Webservice annotation of the Implementation class generated by wsdl2java tool. My requirement is I do not want to regenerate or recompile the code when my service moves from staging machine to production machine.

Re: Guidelines to develop Rest interface for SOAP services

2015-01-28 Thread srinivas thallapalli
Basically what I am trying to do is, I have some SOAP services and I want write an engine which can give the REST resources for those SOAP services. The input to SOAP to REST is only the WSDL. I am trying to find, if there are any best practices to do this. Thanks -- View this message in conte

Guidelines to develop Rest interface for SOAP services

2015-01-28 Thread srinivas thallapalli
Hello, Any guidelines to develop a framework to expose SOAP operations as REST resources. Thanks -- View this message in context: http://cxf.547215.n5.nabble.com/Guidelines-to-develop-Rest-interface-for-SOAP-services-tp5753652.html Sent from the cxf-user mailing list archive at Nabble.com.

RE: Security Related Questions

2015-01-23 Thread srinivas thallapalli
Hi Andrei, Thanks for providing very good resources. If I proceed with Custom Assertion and Interceptor provider approach, Will I be able to see the corresponding policy element in my generated WSDL automatically or we need to add the Policy element to WSDL manually. Basically I am using Java fir

RE: Security Related Questions

2015-01-22 Thread srinivas thallapalli
Thanks for reply. Could you please elaborate "proprietary policy assertion to activate custom interceptors". Please share some samples/links, if you have any sample proprietary policy assertion to activate custom interceptors to achieve similar to what I was looking for. -- View this message

Security Related Questions

2015-01-20 Thread srinivas thallapalli
1. Can WS-Policy be used to control the access to a service, like limited number of access to a service in day and only particular users are allowed to access the service etc. 2. How Authorization can be achieved for a SOAP service. -- View this message in context: http://cxf.547215.n5.nabb

Re: Help required on CXF dynamic client Fails to invoke SOAP1.2 service

2013-05-23 Thread srinivas thallapalli
Hi Aki, On JIRA I can see that the fix for this is available 2.7.6. So I tried with Snapshot apache-cxf-2.7.6-20130522.112333-11.zip, but gives the same exception. I hope the fix is not available in this snapshot. Could you please let me know which snapshot I can take? Thanks -- View this mess

Re: Help required on CXF dynamic client Fails to invoke SOAP1.2 service

2013-05-22 Thread srinivas thallapalli
Thanks Aki. I am using latest CXF i,e 2.7.5 -- View this message in context: http://cxf.547215.n5.nabble.com/Help-required-on-CXF-dynamic-client-Fails-to-invoke-SOAP1-2-service-tp5728096p5728109.html Sent from the cxf-user mailing list archive at Nabble.com.

Help required on CXF dynamic client Fails to invoke SOAP1.2 service

2013-05-22 Thread srinivas thallapalli
Hello, I am trying to invoke a service which uses SOAP1.2 with below CXF client code but it fails with exception while creating the dynamic client object. I have attached the wsdl file for reference here employeeservice.wsdl .

Re: RESTful file upload problem

2013-03-26 Thread srinivas thallapalli
Hi Sergey, I found CNF for javax.mail.MessagingException in server logs. Adding mail.jar to WEB-INF/lib resolves the issue. My sincere apologies for my stupid mistake . Thanks for your valuable time. -- View this message in context: http://cxf.547215.n5.nabble.com/RESTful-file-upload-probl

Re: RESTful file upload problem

2013-03-26 Thread srinivas thallapalli
Hi Sergey, The problems are, I have few SOP in my service method, those are not printing on console (i,e service is not invoked) and attahcment did not saved at destination. Thanks -- View this message in context: http://cxf.547215.n5.nabble.com/RESTful-file-upload-problem-tp5725256p5725270

Re: RESTful file upload problem

2013-03-26 Thread srinivas thallapalli
Sergey, I got the following on server console for inbound message but dont see the SOP in service method. My file content is "Replayfeatureoutput" INFO: Inbound Message ID: 1 Address: http://localhost:8080/StudentService-RS/studentservice/fileupload Encoding: ISO-88

Re: RESTful file upload problem

2013-03-26 Thread srinivas thallapalli
Hi Sergey, The path is correct. I think you are suspecting the "studentservice" in the clientcode URL, studentservice is service class level path. If I remove the MultipartBody param in service method and commented the entity setting part in client, then I am able to invoke the service and seen

RESTful file upload problem

2013-03-26 Thread srinivas thallapalli
Hi, I have RESTful service for file upload as below @POST @Path("/fileupload") @Consumes(MediaType.MULTIPART_FORM_DATA) public void fileUpload(MultipartBody body) { System.out.println("The API is called"); try { System.out.println("star

RE: A beginner Question about the JAX-RS parameters

2013-03-18 Thread srinivas thallapalli
Thanks Andrei. But still I need an answer for my question about security. How we can take care of passing sensitive data to restful service, how the security is ensured. Could you please briefly explain what are best practices for ensuring the security. Regards, Srinivas -- View this message

Re: Unmarshalling exception from CXF response

2012-02-23 Thread srinivas thallapalli
Hi Dan, 1. With following SNAPSHOTS, I see that dynamically generated class names are same as that of the wsdl2java classes. apache-cxf-2.4.7-20120223.061637-15 apache-cxf-2.5.3-20120222.062347-17 2. And client creation problem (java.lang.IllegalArgumentException: URI has a fr

Re: Unmarshalling exception from CXF respponse

2012-02-22 Thread srinivas thallapalli
Hi Dan, I tested with 2.5.3-SNAPSHOT, still same exception getting. Could you please send me the sample.DummyClient.java that you used with 2.4.7. I will also try the same. Thanks -- View this message in context: http://cxf.547215.n5.nabble.com/Unmarshalling-exception-from-CXF-respponse-tp55020

Re: Unmarshalling exception from CXF respponse

2012-02-22 Thread srinivas thallapalli
Hi Dan, I was using jaxb-api 2.2.1 which is distributed with CXF 2.4.2. Now I am trying to use the same client code with cxf 2.5.2 but getting below pasted exception while Client object creation with following line. Client client = dcf.createClient("C:/srini-ws/Corticon/CorticonGeneric.wsdl");

Re: Unmarshalling exception from CXF respponse

2012-02-21 Thread srinivas thallapalli
I enabled the logging and pasted the SOAP request and response messages below. One thing I did not understand that wsdl2java tool generates corticon.CorticonRequestType and corticon.CorticonResponseType classes but when create client Object by passing I see corticon.CorticonRequest and corticon.

Re: CXF Client issue with upgrade from CXF 2.2.7 to 2.4.2

2011-12-06 Thread srinivas thallapalli
Thank you Dan. -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-Client-issue-with-upgrade-from-CXF-2-2-7-to-2-4-2-tp4845738p5054514.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: CXF Client issue with upgrade from CXF 2.2.7 to 2.4.2

2011-12-05 Thread srinivas thallapalli
Hi Dan, Could you please let me know whether the attached project is sufficient to reproduce the problem or any other inputs needed from my side?. Thanks -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-Client-issue-with-upgrade-from-CXF-2-2-7-to-2-4-2-tp4845738p5051272.html

Re: CXF Client issue with upgrade from CXF 2.2.7 to 2.4.2

2011-11-24 Thread srinivas thallapalli
Hi Dan, I have created a test project attached the zip. Please let me know, in case of any issues with project. Thanks http://cxf.547215.n5.nabble.com/file/n5019554/CXF-Test.zip CXF-Test.zip -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-Client-issue-with-upgrade-from-CXF

Re: CXF Client issue with upgrade from CXF 2.2.7 to 2.4.2

2011-11-16 Thread srinivas thallapalli
Anybody faces this issue. Thanks -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-Client-issue-with-upgrade-from-CXF-2-2-7-to-2-4-2-tp4845738p5000264.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: CXF Client issue with upgrade from CXF 2.2.7 to 2.4.2

2011-11-03 Thread srinivas thallapalli
Dan, Please let me know, if my explanation is not sufficient. Thanks -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-Client-issue-with-upgrade-from-CXF-2-2-7-to-2-4-2-tp4845738p4962897.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: CXF Client issue with upgrade from CXF 2.2.7 to 2.4.2

2011-11-02 Thread srinivas thallapalli
I tried with following changes but still the problem reproducible public interface IDataTypeTester { String helloWorld(String text); @WebResult(name="integer") int helloUsers(@WebParam(name="user")List users); } package com.savvion.webservice.cxf.service; @WebS

Re: CXF Client issue with upgrade from CXF 2.2.7 to 2.4.2

2011-11-01 Thread srinivas thallapalli
Hi Dan, This problem is reproducible with service which takes list as as an argument. The following is the testcase, package com.x.webservice.cxf.service; public interface IDataTypeTester { int helloUsers(List users); } package com.x.webservice.cxf.service; public class

Re: CXF Client issue with upgrade from CXF 2.2.7 to 2.4.2

2011-09-28 Thread srinivas thallapalli
Please share your ideas. Thanks. -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-Client-issue-with-upgrade-from-CXF-2-2-7-to-2-4-2-tp4845738p4851812.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: CXF Service deployment on Websphere 6.1.0.29

2011-09-28 Thread srinivas thallapalli
Hi Indranil, Yes it is problem with Websphere 6, you may need to install featurepack for your websphere to support JAX-WS webservices. Thanks -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-Service-deployment-on-Websphere-6-1-0-29-tp4462184p4849035.html Sent from the cxf-us

CXF Client issue with upgrade from CXF 2.2.7 to 2.4.2

2011-09-27 Thread srinivas thallapalli
Hello All, http://workflow.webservice.x.com";> I am trying to invoke "setProcessInstanceDataSlotValue" operation, the wsdl part is pasted above, In my client I am putting the request input data (session,piName,ds

Re: WS-Security Issue with upgrading from CXF 2.3.3. to CXF 2.4.1

2011-07-04 Thread srinivas thallapalli
Hi Colm, Actually I am configuring UsernameToken, Encrypt and Signature standards for my cxf webservice. With 2.3.7 version of CXF everything working fine. Upgrading to 2.4.1 causing this issue, the keystores and configurations files are same. With my investigation, I suspect there is conflict is

WS-Security: USER vs SIGNATURE_USER

2011-07-04 Thread srinivas thallapalli
Hi All, I am trying to use WS-Security Signature standard, for that which property I should use for passing username, USER or SIGNATURE_USER?. I tried by using SIGNATURE_USER but it gives *org.apache.cxf.binding.soap.SoapFault: Empty username for specified action.* exception. If I use USER it wo

Re: WS-Security Issue with upgrading from CXF 2.3.3. to CXF 2.4.1

2011-07-03 Thread srinivas thallapalli
Hi All, Any sugesstions on this issue. Thanks -- View this message in context: http://cxf.547215.n5.nabble.com/WS-Security-Issue-with-upgrading-from-CXF-2-3-3-to-CXF-2-4-1-tp4541788p4548938.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: WS-Security Issue with upgrading from CXF 2.3.3. to CXF 2.4.1

2011-07-01 Thread srinivas thallapalli
Hi Colm, Please have a look at my properties again, I do not have any slashes. Thanks -- View this message in context: http://cxf.547215.n5.nabble.com/WS-Security-Issue-with-upgrading-from-CXF-2-3-3-to-CXF-2-4-1-tp4541788p4542720.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: WS-Security Issue with upgrading from CXF 2.3.3. to CXF 2.4.1

2011-07-01 Thread srinivas thallapalli
Hi Colm, Sincere apologies. I have duplicate classpath entry for wss4j 1.5.10, that is the issue. On removal of that duplicate entry. I am getting problem with Signature while getting private for my alias. This alias is mentioned in configuration property file and keystore contains key for this al

WS-Security Issue with upgrading from CXF 2.3.3. to CXF 2.4.1

2011-07-01 Thread srinivas thallapalli
Hi All I am trying to upgrade CXF 2.3.3 to CXF 2.4.1, I am facing some WS-Security issues with my application which worked fine with 2.3.3. I am using wss4j-1.6.1.jar which is distributed with CXF 2.4.1. The following is the exception stack trace. /Caused by: java.lang.NoSuchMethodError: org.apa

Re: Need help on CXF client

2011-06-21 Thread srinivas thallapalli
Thanks Dan, It works fine with -xjc-npa flag enable generated classes. -- View this message in context: http://cxf.547215.n5.nabble.com/Need-help-on-CXF-client-tp4506071p4513102.html Sent from the cxf-user mailing list archive at Nabble.com.

Need help on CXF client

2011-06-20 Thread srinivas thallapalli
Hi All, I am trying to get the values from the response object given by webservice call, I tried in following two ways 1. Using Reflection on generated classes in memory 2. By having the classes in classpath generated by wsdl2java tool In first case, using reflection everything went through fin

Re: Need help on CXF client

2011-05-25 Thread srinivas thallapalli
For example I have pasted code snipet So in response array contains person object (Person class with lname and fname attrs) we can get the values of person attrs as follows using reflection (demo.person.Person class need not in classpath) JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.n

Need help on CXF client

2011-05-25 Thread srinivas thallapalli
Hi Everyone, I am invoking a service which gives response of type java complex object, for ex: Person (fname, lname, company, city). Now without using the reflection, is there any way to get fname,lname and etc attributes values?. Thanks -- View this message in context: http://cxf.547215.n5.

wsdl2java code generation

2011-05-04 Thread srinivas thallapalli
In mywebservice operation which takes java.util.List type, with wsdl2java generated code the Request.java file does not contain set method for that property?. Can anybody please explain why the setter method not generated. Thanks -- View this message in context: http://cxf.547215.n5.nabble.

Re: Problem with CXF

2011-05-03 Thread srinivas thallapalli
Thanks Aki, The problem got resolved with client of type CXF sample project (wsdl_first_dynamic_client). -- View this message in context: http://cxf.547215.n5.nabble.com/Problem-with-CXF-tp4341066p4367217.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: Problem with CXF

2011-05-01 Thread srinivas thallapalli
Hi Aki/Daniel, Could you please let me know, if there anything wrong with WSDL and client code?. Thanks -- View this message in context: http://cxf.547215.n5.nabble.com/Problem-with-CXF-tp4341066p4364053.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: Problem with CXF

2011-04-29 Thread srinivas thallapalli
Looks like problem with attachments, wsdl and client pasted below WSDL : http://alerts.webservice.mbpportal.mbs.mycompany.com/";> http://alerts.webservice.mbpportal.mbs.mycompany.com/"; version="1.0">

Re: Problem with CXF

2011-04-29 Thread srinivas thallapalli
Hi Aki, Please find the attachment for wsdl file and CXF client that I tried out. And also copied the request and response messages below. Request: http://schemas.xmlsoap.org/soap/envelope/";> alertservice.wsdl http://cxf.547215.n5.nabble.com/file/n4358405/CXFClient.java CXFClient.ja

Re: Problem with CXF

2011-04-27 Thread srinivas thallapalli
Hi Dan,Aki Thanks for your reply. I tried with JaxWsDynamicClientFactory also but still same problem. The request soap message contains http://ws.alerts.sbm.savvion.com/"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="xs:string">

Problem with CXF

2011-04-26 Thread srinivas thallapalli
Hi All, I was trying to invoke a webservice with CXF client using dynamic client approach but failing with following exception Exception in thread "main" java.lang.RuntimeException: org.apache.cxf.binding.soap.SoapFault: Unmarshalling Error: cvc-elt.4.3: Type 'xs:string' is not validly derived fr

PasswordCallback Handling In CXF

2011-03-07 Thread srinivas thallapalli
Hi All, I was playing with ws-security standards like encryption, signing ant etc. I would like to know, whether is there any passwordcallback context object that I can get in my callback handler class to put my objects in it. Thanks -- View this message in context: http://cxf.547215.n5.n

Re: Problem with WSS4J and CXF

2011-01-20 Thread srinivas thallapalli
Thanks alot... I have a scenario for using ws-security combination of UsernameToken and Signature with different alias of signature from user of Usernametoken and different passwords for each. And I want to provide passwords using callback classes, How can I provide two callback classes one for U

Re: Problem with WSS4J and CXF

2011-01-09 Thread srinivas thallapalli
Hi, I am using multiple interceptor in the following way Map inProps1= new HashMap(); inProps1.put(WSHandlerConstants.ACTION,WSHandlerConstants.USERNAME_TOKEN ); inProps1.put(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PASSWORD_DIGEST); inProps1.put(WSHa

Problem with WSS4J and CXF

2011-01-06 Thread srinivas thallapalli
Hi All, I am trying to use ws-security standards like UsernameToken, Encryption, Signature and etc with CXF services. For that I am constructing WSS4j interceptors one for each standard and associating each interceptor separately with each endpoint and the problem is the endpoints(server n client

Re: Problem with WSS4J and CXF

2010-12-15 Thread srinivas thallapalli
Hi dvaleri, Thanks for the reply -- View this message in context: http://cxf.547215.n5.nabble.com/Problem-with-WSS4J-and-CXF-tp3304120p3306244.html Sent from the cxf-user mailing list archive at Nabble.com.

Problem with WSS4J and CXF

2010-12-13 Thread srinivas thallapalli
Hi, I am working on applying ws-security for my cxf service using wss4j, to enable encrption trying to pass crypto properties with java.util.Properties to WSHandlerConstants.ENC_PROP_REF_ID as below, but it gives ClassCastException, could anybody please let me know any thing wrong this approach.

CXF webservice deployment in tomcat webserver

2010-11-25 Thread srinivas thallapalli
Hi All, I am trying to deploy a webservice into tomcat server developed using cxf framework and my service developed with only java, it did not contain any spring configurations, Can any body please suggest me to how to deploy my service into tomcat. Thanks in advance -- View this message in

Webservice security in CXF with SAML

2010-08-30 Thread srinivas thallapalli
Hi, I am getting the following exception with SAMLTokenSigned security with CXF webservice. please let me know, if anybody knows the answer. org.apache.cxf.binding.soap.SoapFault: Security processing failed. at org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor$WSS4JOutInterceptorInte

Re: SAML security with Apache CXF

2010-08-26 Thread srinivas thallapalli
Any comments on this thread. -- View this message in context: http://cxf.547215.n5.nabble.com/SAML-security-with-Apache-CXF-tp2650861p2685247.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: CXF advantages and disadvantages over Axis2

2010-07-08 Thread srinivas thallapalli
Thanks Daniel -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-advantages-and-disadvantages-over-Axis2-tp1044926p1044997.html Sent from the cxf-user mailing list archive at Nabble.com.

CXF advantages and disadvantages over Axis2

2010-07-08 Thread srinivas thallapalli
Hi All, Can anybody please explain, what are the CXF advantages and disadvantages over Axis2. Thanks -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-advantages-and-disadvantages-over-Axis2-tp1044926p1044926.html Sent from the cxf-user mailing list archive at Nabble.com.