Hi Sergey,

Thanks for looking into this. I updated to the latest trunk and both the basic and basic_https samples worked just fine with the SingletonResourceProvider patch.

Not sure why they weren't working yesterday.

Thank you,
Arul

Beryozkin, Sergey wrote:
Sorry for the typos.
Here's some output for the server :

Buildfile: build.xml
    [mkdir] Created dir:
C:\Work\Banquet\ApacheCXF\trunk\distribution\target\apa
che-cxf-2.1-incubator-SNAPSHOT.dir\apache-cxf-2.1-incubator-SNAPSHOT\sam
ples\jax
_rs\basic_https\build

maybe.generate.code:

compile:
    [mkdir] Created dir:
C:\Work\Banquet\ApacheCXF\trunk\distribution\target\apa
che-cxf-2.1-incubator-SNAPSHOT.dir\apache-cxf-2.1-incubator-SNAPSHOT\sam
ples\jax
_rs\basic_https\build\classes
    [mkdir] Created dir:
C:\Work\Banquet\ApacheCXF\trunk\distribution\target\apa
che-cxf-2.1-incubator-SNAPSHOT.dir\apache-cxf-2.1-incubator-SNAPSHOT\sam
ples\jax
_rs\basic_https\build\src
    [javac] Compiling 7 source files to
C:\Work\Banquet\ApacheCXF\trunk\distribu
tion\target\apache-cxf-2.1-incubator-SNAPSHOT.dir\apache-cxf-2.1-incubat
or-SNAPS
HOT\samples\jax_rs\basic_https\build\classes
    [javac] Note:
C:\Work\Banquet\ApacheCXF\trunk\distribution\target\apache-cxf
-2.1-incubator-SNAPSHOT.dir\apache-cxf-2.1-incubator-SNAPSHOT\samples\ja
x_rs\bas
ic_https\src\demo\jaxrs\client\Client.java uses or overrides a
deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
     [copy] Copying 2 files to
C:\Work\Banquet\ApacheCXF\trunk\distribution\targ
et\apache-cxf-2.1-incubator-SNAPSHOT.dir\apache-cxf-2.1-incubator-SNAPSH
OT\sampl
es\jax_rs\basic_https\build\classes

build:

server:
     [java] Server ready...
     [java] ----invoking getCustomer, Customer id is: 123
     [java] ----invoking updateCustomer, Customer name is: Mary
     [java] ----invoking addCustomer, Customer name is: Jack


And the client :

client:
     [java] Sent HTTPS GET request to query customer info
     [java] <Customer><id>123</id><name>John</name></Customer>
     [java]
     [java]
     [java] Sent HTTPS PUT request to update customer info
     [java] Response status code: 200
     [java] Response body:
     [java]
     [java]
     [java]
     [java] Sent HTTPS POST request to add customer
     [java] Response status code: 200
     [java] Response body:
     [java] <Customer><id>124</id><name>Jack</name></Customer>


Similar output is for all the demos...

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland

_________________________________________________
Scanned by MessageLabs for the Super Flux Friends
_________________________________________________


Reply via email to