Dan,

Thanks for the response. You are correct about the wsn-producer name needs
to match the war file name. In the WsnTestClient it specifies a
"/wsn-producer/services" and since my WAR was named test-wsn-producer I
changed the WsnTestClient to reference "/test-wsn-producer/services" and
that fixed the error. Thanks again for help a noob get his feet wet with
this.

Thanks,
Dave

Daniel Jemiolo wrote:
> 
> Since you're getting HTML (<hr>) back in your SOAP response, I'm guessing 
> that you're getting some kind of error page back from the server. I'd go 
> further to guess that you have another process (valid server or zombie) 
> running that's using port 8080, and your client is not talking to the 
> server you think it's talking to. Also, make sure that your URI is right - 
> you're still using /wsn-producer/ but if your WAR has a different name, it 
> should change.
> 
> Dan
> 
> 
> dchou <[EMAIL PROTECTED]> wrote on 04/25/2007 07:21:50 PM:
> 
>> 
>> Hello,
>> 
>> I am able to drop the sample wsn-producer.war and wsn-consumer.war files
>> into my Tomcat and they run fine when I run the WsnTestClient. However, 
> when
>> I do a wsdl2java build in the wsn-producer directory then build an new 
> war
>> using Ant. I get an error message with this newly created 
> wsn-producer.war.
>> I have changed no code. Only performed wsdl2java and ant. The steps and
>> error I get when I run the WsnTestClient is as follows:
>> 
>> $wsdl2java -j2ee axis2 -overwrite -wsdl wsdl/WsResource.wsdl 
>> 
>> $ ant-1.6.5/bin/ant 
>> 
>> $ I then run the test client, WsnTestClient and get the following 
> output: 
>> [CLIENT TRACE] SOAP envelope contents (outgoing):
>> 
>> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope";>
>>     <soap:Header>
>>         <wsa:To
>> 
> xmlns:wsa="http://www.w3.org/2005/08/addressing";>http://166.21.9.161:8080/wsn-
>> producer/services/WsResource</wsa:To>
>>         <wsa:Action
>> xmlns:wsa="http://www.w3.org/2005/08/addressing";>http://docs.oasis-open.
>> org/wsn/bw-2/NotificationProducer/SubscribeRequest</wsa:Action>
>>         <wsa:MessageID
>> 
> xmlns:wsa="http://www.w3.org/2005/08/addressing";>uuid:f6255f7a-9b73-1057-4620-
>> a4ec2be5ff0a</wsa:MessageID>
>>         <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing";>
>> 
>> 
> <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
>>         </wsa:From>
>>     </soap:Header>
>>     <soap:Body>
>>         <wsnt:Subscribe xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2";>
>>             <wsnt:ConsumerReference>
>>                 <wsa:Address
>> 
> xmlns:wsa="http://www.w3.org/2005/08/addressing";>http://166.21.9.175:8060/wsn-
>> consumer/services/consumer</wsa:Address>
>>             </wsnt:ConsumerReference>
>>         </wsnt:Subscribe>
>>     </soap:Body>
>> </soap:Envelope>
>> 
>> [Fatal Error] :1:1040: The element type "HR" must be terminated by the
>> matching end-tag "</HR>".
>> org.apache.muse.ws.addressing.soap.SoapFault: The element type "HR" must 
> be
>> terminated by the matching end-tag "</HR>".
>>         at
>> 
> org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:298)
>>         at
>> 
> org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:254)
>>         at
>> org.apache.muse.ws.notification.remote.NotificationProducerClient.
>> subscribe(NotificationProducerClient.java:97)
>>         at org.apache.muse.test.wsn.WsnTestClient.main(Unknown Source)
>> 
>> Does anyone have any idea what I am doing wrong? I have changed no code. 
> I
>> just wanted to try and build a new war with the method outlined in the
>> tutorial. Any help would be appreciated.
>> 
>> Thanks,
>> Dave
>> -- 
>> View this message in context: 
> http://www.nabble.com/trouble-building-new-wsn-
>> producer.war-file-tf3648690.html#a10191594
>> Sent from the Muse User mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Re%3A-trouble-building-new-wsn-producer.war-file-tf3652762.html#a10208077
Sent from the Muse User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to