Re: Deploying a web service with attachments

2007-08-01 Thread Willem Jiang
Hi Bruno, Please use the below url to access your service. You may also study the hello_world samples' readme for more detail information. http://localhost:8000/{your war's name}/services/book You just need to replace the {your war's name} with the your war's name. Willem. Verachten Bruno

Re: Deploying a web service with attachments

2007-08-01 Thread Willem Jiang
Hi Bruno, Please use the below url as you service consuming point. http://localhost:8000/{your war's name}/services/book You just need to replace the {your war's name} with the your war's name. Willem. Verachten Bruno wrote: Hi, I'm currently developping a service that will receive

Sudden disagreement between Spring and CXF in current snapshot

2007-08-01 Thread Benson Margulies
0[main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started 47 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Refreshing [EMAIL PROTECTED]: display name [Root WebApplicationContext]; startup date [Wed Aug

Re: Rest GET params coming in null...

2007-08-01 Thread Brad Harper
I've debugged this down far enough to see that the GetModel object is being interpreted correctly, but the id param is never bound to this object. Any thoughts? On 7/31/07, Brad Harper [EMAIL PROTECTED] wrote: My get (all) requests (/services/rest/productTypes) are working. They return xml

Re: Rest GET params coming in null...

2007-08-01 Thread Mansour Raad
Just a shot in the dark herecould setting wrapped to false help ? Mansour :-) On Aug 1, 2007, at 11:49 AM, Brad Harper wrote: I've debugged this down far enough to see that the GetModel object is being interpreted correctly, but the id param is never bound to this object. Any

Re: Rest GET params coming in null...

2007-08-01 Thread Mansour Raad
BTW.there might be an issue with itI did try it using the restful_http_binding sample and no go. Raised a JIRA On Aug 1, 2007, at 2:01 PM, Brad Harper wrote: Is that done with an annotation? On 8/1/07, Mansour Raad [EMAIL PROTECTED] wrote: Just a shot in the dark herecould

Re: Rest GET params coming in null...

2007-08-01 Thread Brad Harper
That worked actually. Unfortunately, I don't understand technically why -bh On 8/1/07, Mansour Raad [EMAIL PROTECTED] wrote: BTW.there might be an issue with itI did try it using the restful_http_binding sample and no go. Raised a JIRA On Aug 1, 2007, at 2:01 PM, Brad Harper

Re: Rest GET params coming in null...

2007-08-01 Thread Brad Harper
Is that done with an annotation? On 8/1/07, Mansour Raad [EMAIL PROTECTED] wrote: Just a shot in the dark herecould setting wrapped to false help ? Mansour :-) On Aug 1, 2007, at 11:49 AM, Brad Harper wrote: I've debugged this down far enough to see that the GetModel object is

Re: Rest GET params coming in null...

2007-08-01 Thread Mansour Raad
Check out http://cwiki.apache.org/CXF20DOC/http-binding.html and the bottom it explains the difference. Sure why technically it makes a difference. Mansour :-) On Aug 1, 2007, at 2:26 PM, Brad Harper wrote: That worked actually. Unfortunately, I don't understand technically why -bh

Re: bean stalks

2007-08-01 Thread Willem Jiang
Hi Benson, You can find the jaxws.xsd from this url [1] Here is the code [2] which deals with the jaxws:endpoint parsing. [1]http://svn.apache.org/repos/asf/incubator/cxf/trunk/rt/frontend/jaxws/src/main/resources/schemas/jaxws.xsd

Re: Sudden disagreement between Spring and CXF in current snapshot

2007-08-01 Thread Willem Jiang
Hi Benson, Can you specify your spring version and CXF version ? Currently CXF is developed and tested with spring 2.0.4. Willem. Benson Margulies wrote: 0[main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started 47 [main] INFO

RE: Sudden disagreement between Spring and CXF in current snapshot

2007-08-01 Thread Benson Margulies
And that version is supposed to be on my classpath, and the error has evaporated. Something stinks in my eclipse configuration, and I have to track down what. -Original Message- From: Willem Jiang [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 9:10 PM To:

Should schema location URLs be valid?

2007-08-01 Thread Benson Margulies
http://cxf.apache.org/schemas/jaxws.xsd This isn't a valid URL. Now, I appreciate that in the spring universe itself this is set up to pull from classpath. But what about someone editing a bean file with an ordinary validating XML editor?

RE: bean stalks

2007-08-01 Thread Benson Margulies
Willem, Thanks, Can you tell me, in passing, why jaxws:serviceFactory is a nested element and not (even optionally) an attribute pointing to a top-level bean? I've currently written the following, on the theory that my parser could insist that a conventionally named service factory would be

Re: Should schema location URLs be valid?

2007-08-01 Thread Ray Krueger
If your're using IDEA you can register an XSD resource to use when it sees that URL, rather than having it try to use the literal one. If you're using Eclipse, well, I guess you should be happy if you have syntax highlighting... Ok ok, that was uncalled for. Seriously, for eclipse it depends on

Re: bean stalks

2007-08-01 Thread Willem Jiang
Hi Benson, Here is the part of jaxws:endpoint schema xsd:element name=endpoint xsd:complexType xsd:complexContent xsd:extension base=beans:identifiedType xsd:all .. xsd:element name=serviceFactory type=xsd:anyType minOccurs=0/

Re: Should schema location URLs be valid?

2007-08-01 Thread Willem Jiang
In CXF we have the spring.schemas file in the jars META-INF. Its content is http\://cxf.apache.org/schemas/jaxws.xsd=schemas/jaxws.xsd Maybe you need to do the same mapping thing in the IDE's configuration. Willem. Benson Margulies wrote: http://cxf.apache.org/schemas/jaxws.xsd This

Re: HTTP Basic Auth with wsdl2java generated Client

2007-08-01 Thread Willem Jiang
Can you elaborate the configuration of the CXF web service? Again,: Can you use tcpmon[1] to check the authentication informantion has been set into the http headers? [1] https://tcpmon.dev.java.net/ Willem. gdprao wrote: Hi, I have tried all the options mentioned for the CXF client on this