Hi,
Yes the wsdl is available. When I try to creat a client to acces the book
example webservice as:

public class XFireBookClient {

        /**
         * @param args
         */
        public static void main(String[] args) {
                // TODO Auto-generated method stub
                BookServiceClient client = new BookServiceClient();
                BookServicePortType service = client.getBookServiceHttpPort();
                ArrayOfBook books = service.getBooks();
                System.out.println(books.getBook().size());
        }

}


Exception in thread "main" org.codehaus.xfire.XFireRuntimeException: Could
not invoke service.. Nested exception is
org.codehaus.xfire.fault.XFireFault: Missing SOAP header
org.codehaus.xfire.fault.XFireFault: Missing SOAP header
        at
org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:31)
        at
org.codehaus.xfire.fault.SoapFaultSerializer.readMessage(SoapFaultSerializer.java:28)
        at
org.codehaus.xfire.soap.handler.ReadHeadersHandler.checkForFault(ReadHeadersHandler.java:111)
        at
org.codehaus.xfire.soap.handler.ReadHeadersHandler.invoke(ReadHeadersHandler.java:67)
        at
org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
        at org.codehaus.xfire.client.Client.onReceive(Client.java:382)
        at
org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:139)
        at 
org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
        at
org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
        at
org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
        at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:75)
        at org.codehaus.xfire.client.Client.invoke(Client.java:335)
        at 
org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
        at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
        at $Proxy12.getBooks(Unknown Source)
        at 
edu.ksu.xfire.bookexample.XFireBookClient.main(XFireBookClient.java:14)

Appreciate your help.

--Irshad


Julien HENOT wrote:
> 
> 
> 
> 
>>From: "Benson Margulies" <[EMAIL PROTECTED]>
>>Reply-To: user@xfire.codehaus.org
>>To: <user@xfire.codehaus.org>
>>Subject: RE: [xfire-user] [Xfire-user] Book example problem
>>Date: Thu, 11 Jan 2007 08:35:45 -0500
>>
> It's great, thank you very much : my problem was I run just mvn war:war 
> instead of mvn package
> I read this on the maven web site
> 
> Thank you for your attention
> 
> 
> 
>>The maven list has had a spate of messages about a broken repository.
>>
>>-----Original Message-----
>>From: Tomek Sztelak [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, January 11, 2007 8:34 AM
>>To: user@xfire.codehaus.org
>>Subject: Re: [xfire-user] [Xfire-user] Book example problem
>>
>>I just removed my local repo and run mvn package inside /example/book
>>folder. Everything works fine, maven downloaded all dependencies, war
>>is created /deployted/tested.
>>
>>Why your maven don't download jars by itsself ?
>>
>>On 1/11/07, Julien HENOT <[EMAIL PROTECTED]> wrote:
>> > I read this on maven site.
>> > I tried to make the war, and when maven tell me a dependency, I do it
>> by
>> > hand. I don't know how i can do it automatically.
>> > Can the build be succeful if there are missing dependency jars?
>> >
>> >
>> > >From: "Tomek Sztelak" <[EMAIL PROTECTED]>
>> > >Reply-To: user@xfire.codehaus.org
>> > >To: user@xfire.codehaus.org
>> > >Subject: Re: [xfire-user] [Xfire-user] Book example problem
>> > >Date: Thu, 11 Jan 2007 14:06:46 +0100
>> > >
>> > >Why are you installing jars in maven repo by hand ? Maybe you are
>> > >missing some dependency jars ..
>> > >
>> > >On 1/11/07, Julien HENOT <[EMAIL PROTECTED]> wrote:
>> > >>I have tried an other example : jaxb2
>> > >>And unfortunately, it's the same problem
>> > >>
>> > >>_________________________________________________________________
>> > >>Personnalisez votre Messenger avec Live.com
>> > >>http://www.windowslive.fr/livecom/
>> > >>
>> > >>
>> > >>---------------------------------------------------------------------
>> > >>To unsubscribe from this list please visit:
>> > >>
>> > >>     http://xircles.codehaus.org/manage_email
>> > >>
>> > >>
>> > >
>> > >
>> > >--
>> > >-----
>> > >When one of our products stops working, we'll blame another vendor
>> > >within 24 hours.
>> > >
>> > >---------------------------------------------------------------------
>> > >To unsubscribe from this list please visit:
>> > >
>> > >    http://xircles.codehaus.org/manage_email
>> > >
>> >
>> > _________________________________________________________________
>> > Découvrez le Blog heroic Fantaisy d'Eragon!
>> > http://eragon-heroic-fantasy.spaces.live.com/
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe from this list please visit:
>> >
>> >     http://xircles.codehaus.org/manage_email
>> >
>> >
>>
>>
>>--
>>-----
>>When one of our products stops working, we'll blame another vendor
>>within 24 hours.
>>
>>---------------------------------------------------------------------
>>To unsubscribe from this list please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe from this list please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
> 
> _________________________________________________________________
> Windows Live Spaces : créez votre blog à votre image ! 
> http://www.windowslive.fr/spaces
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-Xfire-user--Book-example-problem-tf2957741.html#a8304716
Sent from the XFire - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to