Re: Future of SOAP

2024-02-29 Thread Johan Edstrom
Sitting on a plane, I personally switched to json payload generation in a cxf or camel stack about a decade ago, the tenants of soap or protocol agnostic delivery of message still stand but stuff moves on, in commercial stuff i encounter rest, weird stuff dating back to axis as well as odata.

Re: CXF with Spring context that is programmatically started

2013-09-26 Thread Johan Edstrom
Are you starting in a servlet context or do you want cxf to start a jetty container? Sent from my pressure cooker. On Sep 26, 2013, at 15:19, Santosh Kulkarni wrote: > I am trying to write a CXF web service as part of my spring based > application. > > For reasons beyond my control we program

Re: Decent real-world project source?

2013-08-02 Thread Johan Edstrom
XsiType(XMLSerializer.java:648) >... 36 more > > Given this very class is used effectively elsewhere (in what I believe is > the same namespace, and everything is annotation-driven) I was a little > surprised to see the above. > > > > On 2 August 2013 16:18, Jo

Re: Decent real-world project source?

2013-08-02 Thread Johan Edstrom
What Sergey said. You are going to have different interfaces as one is a WSDL and one a WADL, re-using the types works like a charm though. That way you can model against the same dictionary and provide SOAP + XML, Rest + XML, Rest + JSON depending on request parameters and so on. Further comb

Re: test page to call web service

2013-06-04 Thread Johan Edstrom
Just look at the unit tests. Firing up a server is about 4 lines. On Jun 4, 2013, at 7:46, Martin Choma wrote: > Hello, > > I would like to ask, if there is way to easily create simple test html > application to call cxf web service? > > Something like Eclipse Web Service Explorer, which is in

Re: CXF client expects namespace, server doesn't send one.

2013-05-23 Thread Johan Edstrom
* @return > * possible object is > * {@link String } > * > */ >public String getUseView() { >return useView; >} > >/** > * Sets the value of the useView property. > * > * @param value > *

Re: Webservice as a proxy

2013-05-23 Thread Johan Edstrom
Sure, you can embed a client or - http://camel.apache.org/cxf-proxy-example.html It is a fairly common approach and is simple to setup. On May 23, 2013, at 11:42 AM, Jose María Zaragoza wrote: > Hello: > > I need to develop a new SOAP webservice that acting as a proxy, calling to > another S

Re: CXF client expects namespace, server doesn't send one.

2013-05-23 Thread Johan Edstrom
Are you doing Java first or WSDL first? An error like this usually indicates that the server or the client is generated against a faulty/changed interface. http://cxf.547215.n5.nabble.com/Unmarshalling-Error-td4927304.html On May 23, 2013, at 11:27 AM, David Nedrow wrote: > javax.xml.ws.soap.S

Re: Reuse JAXB context in jaxws

2013-04-14 Thread Johan Edstrom
lly to my global context? > As far as I understand only CXF knows to read the methods of the service and > translate them to java / xml classes. > > > -Original Message----- > From: Johan Edstrom [mailto:seij...@gmail.com] > Sent: Sunday, April 14, 2013 11:55 PM > To: u

Re: Reuse JAXB context in jaxws

2013-04-14 Thread Johan Edstrom
y.setServiceBean(o); >//create WebService instance >factory.create();*/ > > but on Run-Time all the service messages classes are missing from the jaxb > context. > Any idea why? > > -Original Message- > From: Johan Edstrom [mailto:seij...@gmail.com] >

Re: Reuse JAXB context in jaxws

2013-04-13 Thread Johan Edstrom
I haven't done it in a while but on older versions you set it like this http://cxf.apache.org/ws/addressing"/> Where jaxb is And that bean extends JAXBDataBinding On Apr 13, 2013, at 9:50 AM, Avner Levy wrote: >

Re: Reuse JAXB context in jaxws

2013-01-27 Thread Johan Edstrom
In a client or in the server? On a server you can easily replace the whole engine. On Jan 27, 2013, at 1:37 AM, Avner Levy wrote: > In the past I've posted a question about reusing jaxb context between > services. > Daniel Kulp suggested configure a data binding object in the following form >

Re: Reuse JAXB context in jaxws

2012-10-02 Thread Johan Edstrom
Have used that for large scale projects for the last two years. Works well. On Oct 2, 2012, at 15:02, Daniel Kulp wrote: > > On Oct 2, 2012, at 8:16 AM, Avner Levy wrote: >> Hi, >> I have multiple services which can return results out of thousands of >> classes. >> Since each CXF service con

Re: CXF / Metro / Axis2

2012-07-09 Thread Johan Edstrom
There isn't anything that says you cannot mix and re-use, if you are looking for the biggest active hammer that adapts to the most deployments, I think Cxf is it. We can cover most of ws-I as well as much of ws-*, osgi, spring, jboss kernels, tomcats, jetty's and whatnot else. Not to mention b

Re: Dynamically Adding/Removing services

2012-06-04 Thread Johan Edstrom
I'd peek at a managed service factory and some services around the Bus. On Jun 4, 2012, at 6:05 PM, Javier Delgadillo wrote: > All, > > I'd like a little advice from the CXF users. Here's my setup. > > Karaf 2.2.7 > CXF 2.6.0 > > I've got several bundles implementing various interfaces that I

Re: Can I manually serialize an object into a String soap envelope?

2012-05-02 Thread Johan Edstrom
You can use anything that is handy for you to marshal objects to xml? I'm not sure I get the question? On May 2, 2012, at 6:58 PM, Ron Grabowski wrote: > Is there a class in the guts of CXF that I could use to serialize an object > into a String soap envelope? > > > INFO: Outbound Message > -

Re: Web Services Using CXF

2012-04-20 Thread Johan Edstrom
You probably need to elaborate a tad more. Why not look at some of the examples in the distribution? /je On Apr 20, 2012, at 12:01 PM, Shashikant Sarade wrote: > Plz someone suggest me for Tools as I am Developing Web services project . > I am using ECLIPSE IDE TOMCAT v7 CXF 2.6 > > > Or there

Re: Config of jetty http engine

2012-04-15 Thread Johan Edstrom
Excellent! /je On Apr 15, 2012, at 5:26 PM, jasonmp...@gmail.com wrote: > I was talking about adding a bean - I don't use osgi > > I got it working nicely with only a a few small classes > On Apr 15, 2012 10:41 AM, "Johan Edstrom" wrote: > >> How would

Re: Config of jetty http engine

2012-04-14 Thread Johan Edstrom
How would you want/get that called from spring? Or are you just talking about adding a bean? In cxf 2.5.x and 2.6.0 there are osgi properties based samples, it still would require you to mark an endpoint somewhere as SSL On Apr 12, 2012, at 11:21 PM, Jason Pell wrote: > Based on properties I w

Re: Unknown server error: MarshalException

2012-02-11 Thread Johan Edstrom
I'd start experimenting here : http://wiki.eclipse.org/Jetty/Howto/Configure_Form_Size On Feb 11, 2012, at 6:01 PM, fachhoch wrote: > I enabled the logs and this is the exception stack trace > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Unknown-server-error-Marsh

Re: Unknown server error: MarshalException

2012-02-10 Thread Johan Edstrom
Your server code throws a marshal exception. Put a breakpoint in a debugger and step it. On Feb 10, 2012, at 4:17 PM, fachhoch wrote: > my service method parameter is > > > > > > my external clients get this error when the auditSearchRequest number is > more than 1000, > they tried cal

Re: Jersey / CXF compatibility

2012-01-30 Thread Johan Edstrom
Even more interestingly - how do we fix it? :) On Jan 30, 2012, at 7:26 PM, K Fung wrote: > Hi Stephan, > > (this e-mail is based off revision 14 of your source code, da71e69dfdcd) > > I have some good news and bad news. The good news is that I have a > workaround that can make all of your para

Re: Error while deploying Camel routers on ServiceMix...

2011-11-12 Thread Johan Edstrom
Is there some reason you embed everything? Embed-Dependency = *;scope=compile|runtime;inline=false On Nov 12, 2011, at 3:25 AM, Omar Atia wrote: > Embed-Dependency = *;scope=compile|runtime;inline=false

Re: Using Apache-CXF to communicate a third party application

2011-11-11 Thread Johan Edstrom
If you have the XSD, you actually have a good chunk of the wsdl, that said, you can do that as REST, SOAP or pure XML, for the latter - looking at something like camel-jetty/http might allow you to just get the payload and then use Jaxb, neither of the ideas would be "wrong" Cheers! /je On No

Re: Sharing JAXB annotated classes and context between server and client.

2011-09-30 Thread Johan Edstrom
Doing it on the client will require a bit more work… The jaxb client is pretty smart in caching what it needs, not re-creating stuff and so on. On Sep 30, 2011, at 8:19 AM, paragmehta wrote: > Thanks, trying it on server. > > Hope it makes sense to allow such a thing on the client side too.

Re: Sharing JAXB annotated classes and context between server and client.

2011-09-29 Thread Johan Edstrom
Doing it on the server is pretty easy, doing it on the client less so. And you probably need to extend JAXBDataBinding On Sep 29, 2011, at 3:50 PM, paragmehta wrote: > Folks, > > I have existing java classes annotated with JAXB annotations and customized > JAXB context. Am trying

Re: Sample STS Client

2011-08-01 Thread Johan Edstrom
This might be a good start : http://coheigea.blogspot.com/2011/05/ws-trust-sample-in-talend-service.html On Aug 1, 2011, at 3:00 PM, kishore_897 wrote: > Hi > > I am using CXF 2.4.1. I am trying create a STS Client which can get the > token from the STS token provider (wso2 identity server).. >

Re: CXF + Camel(TCP)

2011-05-26 Thread Johan Edstrom
It has been in since 2.3, you might have to use the junit tests as a reference... https://issues.apache.org/jira/browse/CXF-2258?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel#issue-tabs That said, writing a server in mina is not very hard. /je On May 26, 2011, at 8:38 PM,

Re: could cxf save larget attachemnt in temporary file?(A new doubt)

2011-04-26 Thread Johan Edstrom
1: This is handled for you. 2: In a cxf client, this is handled for you. On Apr 26, 2011, at 11:33 PM, ext2 wrote: > > Thanks Daniel Kulp for your explain. > > Because CXF maintain the attachments stream underlying, now I feel doubt > about how could I cleaning the temporary file. > > There

Re: Discussion Forum

2011-04-11 Thread Johan Edstrom
No problem :) On Apr 11, 2011, at 8:48 PM, robert wrote: > Uh yeah... I removed my link... sorry about that... and thank you for > pointing it out! > > -- Robert > > On Mon, 11 Apr 2011 20:45:33 -0600, Johan Edstrom > wrote: >> You mean like the link(s) that s

Re: Discussion Forum

2011-04-11 Thread Johan Edstrom
You mean like the link(s) that say nabble here? http://cxf.apache.org/mailing-lists.html :) On Apr 11, 2011, at 8:24 PM, robert wrote: > Sweet! Can a "Discussion Forums" sidebar link be added, like on the > Apache ActiveMQ page? > > -- Robert > > On Mon, 11 Ap

Re: Can CXF support multiple response?

2011-04-11 Thread Johan Edstrom
Using camel this would be very easy to setup. Doing it in straight CXF doesn't really make "sense", it is more of a ESB/BUS/FLOW/EIP type of thing. /je On Apr 11, 2011, at 8:16 PM, Yinwei David Liu wrote: > Hi Freeman, > > Thanks for your reply. > >> I don't think CXF can support one request

Re: Discussion Forum

2011-04-11 Thread Johan Edstrom
You mean like this http://cxf.547215.n5.nabble.com/cxf-user-f547216.html ? On Apr 11, 2011, at 8:14 PM, robert wrote: > On the Apache ActiveMQ site ( http://activemq.apache.org/ ) there is a link > to "Discussion Forums": http://activemq.apache.org/discussion-forums.html > > How hard would it be

Re: building CFX problem

2011-02-16 Thread Johan Edstrom
If you just plan to use CXF, it might be simpler to use a released and tested version instead of building yourself. /je On Feb 16, 2011, at 10:43 AM, beit wrote: > > Hi everybody, > > I'm new to apache CXF and Maven and I'm trying to build everything on my Mac > OS X computer. > I follow inst

Re: MBeans, get your MBeans

2011-02-09 Thread Johan Edstrom
Most organizations would simply use something like Nagios, OpenNMS, Zenoss, Tivoli, OpenView and so on where you define JMX counter monitoring, what is monitored tend to be what affects production. Like enqueue/dequeue /s Or number of threads / JVM memory usage in a webapp. On Feb 9, 2011, a

Re: Obtaining sample webservice message as XML

2011-02-06 Thread Johan Edstrom
Wsdl4j and XmlSchema makes it quite simple like previously stated. On Feb 6, 2011, at 2:29 PM, John Baker wrote: > Well, parsing XML isn't an issue, but I thought there may be a set of > APIs for breaking up the SOAP message into well defined objects, and > hence making some walking code rather

Re: Threaded instance of server

2010-11-29 Thread Johan Edstrom
You want to set the JettyHttpServerEngineFactory That gives you access to setThreadingParameters On Nov 30, 2010, at 4:39 AM, Chris Richmond wrote: > JaxWsServerFactoryBean

Re: dynamic exposure of webservices without annotations

2010-11-14 Thread Johan Edstrom
Hah! I'll just snuggle up close to you when that happens. /je On Nov 14, 2010, at 7:54 PM, Benson Margulies wrote: > Well, sure, so long as those graphs contain no cycles. As the maintain > of Aegis, I feel compelled to warn. > > On Sun, Nov 14, 2010 at 7:47 PM, Johan Edstro

Re: dynamic exposure of webservices without annotations

2010-11-14 Thread Johan Edstrom
Fair enough :) I've just found Aegis massively more cooperative than JAXB when exposing complex object graphs code first. /je On Nov 14, 2010, at 5:15 PM, Benson Margulies wrote: > I recommend making a sample RPC/literal service with annotations, and > trace how the code looks at those annotat

Re: dynamic exposure of webservices without annotations

2010-11-14 Thread Johan Edstrom
Did you look at aegis? On Nov 14, 2010, at 4:39 PM, loeffelholz wrote: > > Now as I came to implement it I created a serviceFactory based upon the > Reflectionfactory and overrided much of the code in it and it's > parentclasses. The most difficult problem was, that in my case there > aren't any

Re: Apache CXF tooling usage definitions

2010-11-11 Thread Johan Edstrom
Robert, This is open source, debate and disagreement is part of the deal - I think you have done a ton of good things, that everything you do isn't praised and sometimes is "shot down", that is just part of the fun. I certainly hope that you don't see one comment (that I thought was construct

Re: 2.3.0 probably shoud've been 3.0.0

2010-10-25 Thread Johan Edstrom
rn on and control various Logging functionality >g.. @EndpointProperty to configure endpoint properties >h.. @Policy to associate WS-Policy documents with the service > d.. SOAP/JMS spec implementation > e.. SDO databinding > f.. Schema Validation support for Aegi

Re: CXF's People Page needs updates.

2010-10-19 Thread Johan Edstrom
ix "Team" > page. > > 'just need everyone to update their info on the page (ID, org, PMD member) > > YES... that means, if you are a committer... please update your info. > > Thanks! Johan Edstrom j...@opennms.org They that can give up essential liberty to

Re: Resources and Articles...

2010-10-19 Thread Johan Edstrom
; Anyone have anymore that I can post? > > Just want to say that I really like how you've reorganized this. It's much > better than it was. > > Thanks! > Dan > >> >> Thanks. > > -- > Daniel Kulp > dk...@apache.org > http://dankulp.c

Re: CXF Version class... proposed refactoring

2010-10-15 Thread Johan Edstrom
d look like this: > > System.out.println("Version.CURRENT_VERSION_NAME"); > > Is this a good candidate for refactoring, or is there a specific reason for > the current design that I am missing? > > Thanks. Johan Edstrom j...@opennms.org They that can give up essen

Re: Apache CXF and FindBugs

2010-10-15 Thread Johan Edstrom
>>>>> http://cxf.apache.org/coding-guidelines.html). >>>>> >>>>> Any reason why CXF doesn't make use of FindBugs? - >>>>> http://findbugs.sourceforge.net/ >>>> >>>> Most likely, no one really pursued it. Aga

Re: Revisiting required @WebParams

2010-10-13 Thread Johan Edstrom
- Create a wrapper bean and use the @XmlElement there > - Switch to Aegis > - Use WSDL first > > Lots of work either way, not looking forward to it. > > Thanks, > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Revisiting-required-WebParams-tp

Re: Soap 1.2 Bindings

2010-09-19 Thread Johan Edstrom
> Regards > suneet > Johan Edstrom j...@opennms.org They that can give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety. Benjamin Franklin, Historical Review of Pennsylvania, 1759

Re: Develop cxf service using eclipse helios?

2010-09-16 Thread Johan Edstrom
: > Hi all, > > Is there any guides to develop service using cxf on eclipse helios(contract > first approach) and then deploy it on tomcat 6. > Thanks. > -- > Reza Mochamad Diannagara Johan Edstrom j...@opennms.org They that can give up essential liberty to purchase a li

Re: Spring test support

2010-09-10 Thread Johan Edstrom
.com/Spring-test-support-tp2835106p2835106.html > Sent from the cxf-user mailing list archive at Nabble.com. Johan Edstrom j...@opennms.org They that can give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety. Benjamin Franklin, Historical Review of Pennsylvania, 1759

Re: WSDL Parser using JAXB

2010-08-31 Thread Johan Edstrom
ser mailing list archive at Nabble.com. Johan Edstrom j...@opennms.org They that can give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety. Benjamin Franklin, Historical Review of Pennsylvania, 1759

Re: using wsdl2java on a wsdl located on disk

2010-08-27 Thread Johan Edstrom
e even though i >> specified the proxy host and port, i'm not sure how to specify a username >> and password on the command line... >> >> Any suggestions? >> THanks, >> Nilesh >> -- >> View this message in context: >> http://cxf.547215.n5.n

Re: soap:address location externalization

2010-08-05 Thread Johan Edstrom
..) . Is that possible through > maven (profiles), spring DI? > > Any ideas? > > Thanks, > J > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/soap-address-location-externalization-tp2266132p2266132.html > Sent from the cxf-user mailing

Re: Retrieve WSDL for WebServiceProvider

2010-07-23 Thread Johan Edstrom
the wsdl when it is deployed. If I do not specifcy >>>> the wsdl then it generates a wsdl according to the methods in the provider, >>>> which is invoke, but if I define one I am not able to retrieve it. I am >>>> running cxf 2.2.6 in a servicemix 4.2 contain

Re: Retrieve WSDL for WebServiceProvider

2010-07-22 Thread Johan Edstrom
6 in a servicemix 4.2 container. Any thoughts? > > -Dennis Johan Edstrom j...@opennms.org They that can give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety. Benjamin Franklin, Historical Review of Pennsylvania, 1759

Re: Logging Inbound and outbound message in cxf

2010-04-03 Thread Johan Edstrom
sing java code to log this feature. >> Please provide some sample code to do this. >> >> Regards >> Saravanan Ramamoorthy >> >> -- >> View this message in context: >> http://old.nabble.com/Logging-Inbound-and-outbound-message-in-cxf-tp28093808p2809380

Re: WS-Security Encryption/Decryption Advice

2010-03-05 Thread Johan Edstrom
o this. > > My existing implementation uses the following applicationContext.xml files: > > Client: http://pastebin.com/DQJadG7p > > Server: http://pastebin.com/cu3gVxSu > > Thanks for your help! > > Regards, sebastian. Johan Edstrom j...@opennms.org They that can give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety. Benjamin Franklin, Historical Review of Pennsylvania, 1759

Re: publishing jaxws service endpoint

2010-02-18 Thread Johan Edstrom
-endpoint-tp27638100p27638100.html > Sent from the cxf-user mailing list archive at Nabble.com. > Johan Edstrom j...@opennms.org They that can give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety. Benjamin Franklin, Historical Review of Pennsylvania, 1759

Re: What companies are using CXF?

2010-01-19 Thread Johan Edstrom
http://web.progress.com/en/inthenews/federal-aviation-adm-07292009.html On Jan 19, 2010, at 3:41 PM, easternwahoo wrote: > > > I totally understand. I'm just hoping one or two might be willing to admit > they use this. > > > Johan Edstrom-3 wrote: >> >&

Re: What companies are using CXF?

2010-01-19 Thread Johan Edstrom
duct, but they don't mention CXF. > -- > View this message in context: > http://old.nabble.com/What-companies-are-using-CXF--tp27233720p27233720.html > Sent from the cxf-user mailing list archive at Nabble.com. > Johan Edstrom j...@opennms.org They that can give u

Re: Practical to write unit tests that can simulate the container and verify XML/JSON data?

2009-12-16 Thread Johan Edstrom
er, >> call the jax-rs server with a REST query, and verify the XML/JSON >> response that it gets? This would all be in a standalone container. >> > > > > -- > http://aruld.info Johan Edstrom j...@opennms.org They that can give up essential liberty to pu