You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Benamin <be...@bisonline.com> on 2007/05/10 16:59:43 UTC

jsr problems

I am trying to expose a web service called NSRService such as in the
wsdl-first example.  When I browse to
http://localhost:8192/NSRService/main.wsdl, it doesn't display the wsdl. 
Any ideas on why it might not be able to find it?  I will list my xbeans for
jsr and http below:

<beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">

    <classpath>
        <location>.</location>
    </classpath>
  
    <jsr181:endpoint
pojoClass="org.apache.servicemix.samples.servicemanagerassembly.NSRImpl"
                     wsdlResource="classpath:externalsystem.wsdl"
                     style="document" />

</beans>

<beans xmlns:http="http://servicemix.apache.org/http/1.0"
       xmlns:NSR="http://servicemix.apache.org/servicemanagerassembly">

  <http:endpoint service="NSR:NSRService"
                 endpoint="soap"
                 role="consumer" 
                 locationURI="http://localhost:8192/NSRService/"
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
                 soap="true"
                 soapAction="getNSR" />             

</beans>




-- 
View this message in context: http://www.nabble.com/jsr-problems-tf3722100s12049.html#a10414909
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: jsr problems

Posted by Guillaume Nodet <gn...@gmail.com>.
Try to raise the log level to DEBUG and see the informations that are logged
at
deployment time.
Also make sure that in the jbi.xml descriptor for the SA, the jsr181 su is
before the http one, else the http BC will not be able to find the wsdl from
the jsr181 endpoint.

On 5/10/07, Benamin <be...@bisonline.com> wrote:
>
>
> I am trying to expose a web service called NSRService such as in the
> wsdl-first example.  When I browse to
> http://localhost:8192/NSRService/main.wsdl, it doesn't display the wsdl.
> Any ideas on why it might not be able to find it?  I will list my xbeans
> for
> jsr and http below:
>
> <beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">
>
>     <classpath>
>         <location>.</location>
>     </classpath>
>
>     <jsr181:endpoint
> pojoClass="org.apache.servicemix.samples.servicemanagerassembly.NSRImpl"
>                      wsdlResource="classpath:externalsystem.wsdl"
>                      style="document" />
>
> </beans>
>
> <beans xmlns:http="http://servicemix.apache.org/http/1.0"
>        xmlns:NSR="http://servicemix.apache.org/servicemanagerassembly">
>
>   <http:endpoint service="NSR:NSRService"
>                  endpoint="soap"
>                  role="consumer"
>                  locationURI="http://localhost:8192/NSRService/"
>                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
>                  soap="true"
>                  soapAction="getNSR" />
>
> </beans>
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/jsr-problems-tf3722100s12049.html#a10414909
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Principal Engineer, IONA
Blog: http://gnodet.blogspot.com/

Re: jsr problems

Posted by Benamin <be...@bisonline.com>.
Changing the namespace to match the namespace in the wsdl fixed the problem. 
Thanks.


Gert Vanthienen wrote:
> 
> L.S.,
> 
> I don't think the http BC was able to find the JSR-181 SU, otherwise it
> would have been able to retrieve the WSDL information.  The namespace for
> the service name on the HTTP BC endpoint should match the namespace in the
> WSDL. 
> 
> Gert
> 
> 
> 
> Adrian Co wrote:
>> 
>> Namespace seems to be different.
>> 
>> xmlns:tns="http://servicemix.apache.org/samples/ServiceManagerAssembly"
>> 
>> xmlns:NSR="http://servicemix.apache.org/servicemanagerassembly"
>> 
>> Though if this is the problem, I'm kinda surprised the http bc was able
>> to find the jsr181 su. Maybe its something else.
>> 
>> 
>> Benamin wrote:
>>> They are already the same.  Any other ideas?  Here is the wsdl:
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>>
>>> <!-- $Rev: 356052 $ $Date: 2005-12-11 14:41:20 -0800 (dim., 11 dc. 2005)
>>> $
>>> -->
>>> <wsdl:definitions name="ServiceManagerAssembly"
>>> 	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>> 	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> 	xmlns:tns="http://servicemix.apache.org/samples/ServiceManagerAssembly"
>>>
>>> xmlns:typens="http://servicemix.apache.org/samples/ServiceManagerAssembly/types"
>>>
>>> targetNamespace="http://servicemix.apache.org/samples/ServiceManagerAssembly">
>>>
>>> 	<wsdl:types>
>>> 		<xsd:schema
>>> targetNamespace="http://servicemix.apache.org/samples/ServiceManagerAssembly/types"
>>> 		            elementFormDefault="qualified">
>>> 			<xsd:element name="GetNSR">
>>> 			  <xsd:complexType>
>>> 					<xsd:sequence>
>>> 						<xsd:element name="request" type="xsd:string"/>
>>> 					</xsd:sequence>
>>> 				</xsd:complexType>
>>> 			</xsd:element>
>>> 			<xsd:element name="GetNSRResponse">
>>> 			  <xsd:complexType>
>>> 					<xsd:sequence>
>>> 					    <xsd:element name="response" type="xsd:string"/>
>>> 					</xsd:sequence>
>>> 				</xsd:complexType>
>>> 			</xsd:element>
>>> 			<xsd:element name="UnknownNSRFault">
>>> 			  <xsd:complexType>
>>> 					<xsd:sequence>
>>> 					    <xsd:element name="request" type="xsd:string"/>
>>> 					</xsd:sequence>
>>> 				</xsd:complexType>
>>> 			</xsd:element>
>>> 		</xsd:schema>
>>>   </wsdl:types>
>>> 	
>>> 	<wsdl:message name="GetNSRRequest">
>>> 		<wsdl:part name="payload" element="typens:GetNSR"/>
>>> 	</wsdl:message>
>>> 	<wsdl:message name="GetNSRResponse">
>>> 		<wsdl:part name="payload" element="typens:GetNSRResponse"/>
>>> 	</wsdl:message>
>>> 	<wsdl:message name="UnknownNSRFault">
>>> 		<wsdl:part name="payload" element="typens:UnknownNSRFault"/>
>>> 	</wsdl:message>
>>>
>>>     <wsdl:portType name="NSR">
>>> 		<wsdl:operation name="GetNSR">
>>> 			<wsdl:input message="tns:GetNSRRequest"/>
>>> 			<wsdl:output message="tns:GetNSRResponse"/>
>>> 			<wsdl:fault name="UnknownNSR" message="tns:UnknownNSRFault"/>
>>> 		</wsdl:operation>
>>> 	</wsdl:portType>
>>> 	
>>>     <wsdl:binding name="NSRSOAPBinding" type="tns:NSR">
>>>     	<soap:binding style="document"
>>> transport="http://schemas.xmlsoap.org/soap/http" />
>>> 		<wsdl:operation name="GetNSR">
>>> 			<wsdl:input>
>>> 				<soap:body use="literal" />
>>> 			</wsdl:input>
>>> 			<wsdl:output>
>>> 				<soap:body use="literal" />
>>> 			</wsdl:output>
>>> 			<wsdl:fault name="UnknownNSR">
>>> 				<soap:fault use="literal" name="UnknownNSR" />
>>> 			</wsdl:fault>
>>>        </wsdl:operation>
>>>    </wsdl:binding>
>>>
>>> 	<wsdl:service name="NSRService">
>>>     	<wsdl:port binding="tns:NSRSOAPBinding" name="soap">
>>>            <soap:address location="http://localhost:8192/NSRService/" />
>>>        </wsdl:port>
>>>    </wsdl:service>
>>>
>>> </wsdl:definitions>
>>>
>>>
>>>
>>>
>>> Adrian Co wrote:
>>>   
>>>> try changing the endpoint attribute in the http xbean.xml to match the 
>>>> port name of the wsdl
>>>>
>>>> Benamin wrote:
>>>>     
>>>>> That didn't work either.  Same result.
>>>>>
>>>>>
>>>>>
>>>>> pgodot wrote:
>>>>>   
>>>>>       
>>>>>> Try http://localhost:8192/NSRService/?wsdl
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Benamin [mailto:ben@bisonline.com] 
>>>>>> Sent: jeudi, 10. mai 2007 17:00
>>>>>> To: servicemix-users@geronimo.apache.org
>>>>>> Subject: jsr problems
>>>>>>
>>>>>>
>>>>>> I am trying to expose a web service called NSRService such as in the
>>>>>> wsdl-first example.  When I browse to
>>>>>> http://localhost:8192/NSRService/main.wsdl, it doesn't display the
>>>>>> wsdl. 
>>>>>> Any ideas on why it might not be able to find it?  I will list my
>>>>>> xbeans
>>>>>> for
>>>>>> jsr and http below:
>>>>>>
>>>>>> <beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">
>>>>>>
>>>>>>     <classpath>
>>>>>>         <location>.</location>
>>>>>>     </classpath>
>>>>>>   
>>>>>>     <jsr181:endpoint
>>>>>> pojoClass="org.apache.servicemix.samples.servicemanagerassembly.NSRImpl"
>>>>>>                      wsdlResource="classpath:externalsystem.wsdl"
>>>>>>                      style="document" />
>>>>>>
>>>>>> </beans>
>>>>>>
>>>>>> <beans xmlns:http="http://servicemix.apache.org/http/1.0"
>>>>>>       
>>>>>> xmlns:NSR="http://servicemix.apache.org/servicemanagerassembly">
>>>>>>
>>>>>>   <http:endpoint service="NSR:NSRService"
>>>>>>                  endpoint="soap"
>>>>>>                  role="consumer" 
>>>>>>                  locationURI="http://localhost:8192/NSRService/"
>>>>>>                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
>>>>>>                  soap="true"
>>>>>>                  soapAction="getNSR" />             
>>>>>>
>>>>>> </beans>
>>>>>>
>>>>>>
>>>>>>     
>>>>>>         
>>>>>   
>>>>>       
>>>>
>>>>     
>>>
>>>   
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/jsr-problems-tf3722100s12049.html#a10420270
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: jsr problems

Posted by Gert Vanthienen <ge...@skynet.be>.
L.S.,

I don't think the http BC was able to find the JSR-181 SU, otherwise it
would have been able to retrieve the WSDL information.  The namespace for
the service name on the HTTP BC endpoint should match the namespace in the
WSDL. 

Gert



Adrian Co wrote:
> 
> Namespace seems to be different.
> 
> xmlns:tns="http://servicemix.apache.org/samples/ServiceManagerAssembly"
> 
> xmlns:NSR="http://servicemix.apache.org/servicemanagerassembly"
> 
> Though if this is the problem, I'm kinda surprised the http bc was able to
> find the jsr181 su. Maybe its something else.
> 
> 
> Benamin wrote:
>> They are already the same.  Any other ideas?  Here is the wsdl:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>>
>> <!-- $Rev: 356052 $ $Date: 2005-12-11 14:41:20 -0800 (dim., 11 dc. 2005)
>> $
>> -->
>> <wsdl:definitions name="ServiceManagerAssembly"
>> 	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>> 	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> 	xmlns:tns="http://servicemix.apache.org/samples/ServiceManagerAssembly"
>>
>> xmlns:typens="http://servicemix.apache.org/samples/ServiceManagerAssembly/types"
>>
>> targetNamespace="http://servicemix.apache.org/samples/ServiceManagerAssembly">
>>
>> 	<wsdl:types>
>> 		<xsd:schema
>> targetNamespace="http://servicemix.apache.org/samples/ServiceManagerAssembly/types"
>> 		            elementFormDefault="qualified">
>> 			<xsd:element name="GetNSR">
>> 			  <xsd:complexType>
>> 					<xsd:sequence>
>> 						<xsd:element name="request" type="xsd:string"/>
>> 					</xsd:sequence>
>> 				</xsd:complexType>
>> 			</xsd:element>
>> 			<xsd:element name="GetNSRResponse">
>> 			  <xsd:complexType>
>> 					<xsd:sequence>
>> 					    <xsd:element name="response" type="xsd:string"/>
>> 					</xsd:sequence>
>> 				</xsd:complexType>
>> 			</xsd:element>
>> 			<xsd:element name="UnknownNSRFault">
>> 			  <xsd:complexType>
>> 					<xsd:sequence>
>> 					    <xsd:element name="request" type="xsd:string"/>
>> 					</xsd:sequence>
>> 				</xsd:complexType>
>> 			</xsd:element>
>> 		</xsd:schema>
>>   </wsdl:types>
>> 	
>> 	<wsdl:message name="GetNSRRequest">
>> 		<wsdl:part name="payload" element="typens:GetNSR"/>
>> 	</wsdl:message>
>> 	<wsdl:message name="GetNSRResponse">
>> 		<wsdl:part name="payload" element="typens:GetNSRResponse"/>
>> 	</wsdl:message>
>> 	<wsdl:message name="UnknownNSRFault">
>> 		<wsdl:part name="payload" element="typens:UnknownNSRFault"/>
>> 	</wsdl:message>
>>
>>     <wsdl:portType name="NSR">
>> 		<wsdl:operation name="GetNSR">
>> 			<wsdl:input message="tns:GetNSRRequest"/>
>> 			<wsdl:output message="tns:GetNSRResponse"/>
>> 			<wsdl:fault name="UnknownNSR" message="tns:UnknownNSRFault"/>
>> 		</wsdl:operation>
>> 	</wsdl:portType>
>> 	
>>     <wsdl:binding name="NSRSOAPBinding" type="tns:NSR">
>>     	<soap:binding style="document"
>> transport="http://schemas.xmlsoap.org/soap/http" />
>> 		<wsdl:operation name="GetNSR">
>> 			<wsdl:input>
>> 				<soap:body use="literal" />
>> 			</wsdl:input>
>> 			<wsdl:output>
>> 				<soap:body use="literal" />
>> 			</wsdl:output>
>> 			<wsdl:fault name="UnknownNSR">
>> 				<soap:fault use="literal" name="UnknownNSR" />
>> 			</wsdl:fault>
>>        </wsdl:operation>
>>    </wsdl:binding>
>>
>> 	<wsdl:service name="NSRService">
>>     	<wsdl:port binding="tns:NSRSOAPBinding" name="soap">
>>            <soap:address location="http://localhost:8192/NSRService/" />
>>        </wsdl:port>
>>    </wsdl:service>
>>
>> </wsdl:definitions>
>>
>>
>>
>>
>> Adrian Co wrote:
>>   
>>> try changing the endpoint attribute in the http xbean.xml to match the 
>>> port name of the wsdl
>>>
>>> Benamin wrote:
>>>     
>>>> That didn't work either.  Same result.
>>>>
>>>>
>>>>
>>>> pgodot wrote:
>>>>   
>>>>       
>>>>> Try http://localhost:8192/NSRService/?wsdl
>>>>>
>>>>> -----Original Message-----
>>>>> From: Benamin [mailto:ben@bisonline.com] 
>>>>> Sent: jeudi, 10. mai 2007 17:00
>>>>> To: servicemix-users@geronimo.apache.org
>>>>> Subject: jsr problems
>>>>>
>>>>>
>>>>> I am trying to expose a web service called NSRService such as in the
>>>>> wsdl-first example.  When I browse to
>>>>> http://localhost:8192/NSRService/main.wsdl, it doesn't display the
>>>>> wsdl. 
>>>>> Any ideas on why it might not be able to find it?  I will list my
>>>>> xbeans
>>>>> for
>>>>> jsr and http below:
>>>>>
>>>>> <beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">
>>>>>
>>>>>     <classpath>
>>>>>         <location>.</location>
>>>>>     </classpath>
>>>>>   
>>>>>     <jsr181:endpoint
>>>>> pojoClass="org.apache.servicemix.samples.servicemanagerassembly.NSRImpl"
>>>>>                      wsdlResource="classpath:externalsystem.wsdl"
>>>>>                      style="document" />
>>>>>
>>>>> </beans>
>>>>>
>>>>> <beans xmlns:http="http://servicemix.apache.org/http/1.0"
>>>>>       
>>>>> xmlns:NSR="http://servicemix.apache.org/servicemanagerassembly">
>>>>>
>>>>>   <http:endpoint service="NSR:NSRService"
>>>>>                  endpoint="soap"
>>>>>                  role="consumer" 
>>>>>                  locationURI="http://localhost:8192/NSRService/"
>>>>>                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
>>>>>                  soap="true"
>>>>>                  soapAction="getNSR" />             
>>>>>
>>>>> </beans>
>>>>>
>>>>>
>>>>>     
>>>>>         
>>>>   
>>>>       
>>>
>>>     
>>
>>   
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/jsr-problems-tf3722100s12049.html#a10419991
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: jsr problems

Posted by Adrian Co <ac...@exist.com>.
Namespace seems to be different.

xmlns:tns="http://servicemix.apache.org/samples/ServiceManagerAssembly"

xmlns:NSR="http://servicemix.apache.org/servicemanagerassembly"

Though if this is the problem, I'm kinda surprised the http bc was able to find the jsr181 su. Maybe its something else.


Benamin wrote:
> They are already the same.  Any other ideas?  Here is the wsdl:
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <!-- $Rev: 356052 $ $Date: 2005-12-11 14:41:20 -0800 (dim., 11 dc. 2005) $
> -->
> <wsdl:definitions name="ServiceManagerAssembly"
> 	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> 	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> 	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xmlns:tns="http://servicemix.apache.org/samples/ServiceManagerAssembly"
>
> xmlns:typens="http://servicemix.apache.org/samples/ServiceManagerAssembly/types"
>
> targetNamespace="http://servicemix.apache.org/samples/ServiceManagerAssembly">
>
> 	<wsdl:types>
> 		<xsd:schema
> targetNamespace="http://servicemix.apache.org/samples/ServiceManagerAssembly/types"
> 		            elementFormDefault="qualified">
> 			<xsd:element name="GetNSR">
> 			  <xsd:complexType>
> 					<xsd:sequence>
> 						<xsd:element name="request" type="xsd:string"/>
> 					</xsd:sequence>
> 				</xsd:complexType>
> 			</xsd:element>
> 			<xsd:element name="GetNSRResponse">
> 			  <xsd:complexType>
> 					<xsd:sequence>
> 					    <xsd:element name="response" type="xsd:string"/>
> 					</xsd:sequence>
> 				</xsd:complexType>
> 			</xsd:element>
> 			<xsd:element name="UnknownNSRFault">
> 			  <xsd:complexType>
> 					<xsd:sequence>
> 					    <xsd:element name="request" type="xsd:string"/>
> 					</xsd:sequence>
> 				</xsd:complexType>
> 			</xsd:element>
> 		</xsd:schema>
>   </wsdl:types>
> 	
> 	<wsdl:message name="GetNSRRequest">
> 		<wsdl:part name="payload" element="typens:GetNSR"/>
> 	</wsdl:message>
> 	<wsdl:message name="GetNSRResponse">
> 		<wsdl:part name="payload" element="typens:GetNSRResponse"/>
> 	</wsdl:message>
> 	<wsdl:message name="UnknownNSRFault">
> 		<wsdl:part name="payload" element="typens:UnknownNSRFault"/>
> 	</wsdl:message>
>
>     <wsdl:portType name="NSR">
> 		<wsdl:operation name="GetNSR">
> 			<wsdl:input message="tns:GetNSRRequest"/>
> 			<wsdl:output message="tns:GetNSRResponse"/>
> 			<wsdl:fault name="UnknownNSR" message="tns:UnknownNSRFault"/>
> 		</wsdl:operation>
> 	</wsdl:portType>
> 	
>     <wsdl:binding name="NSRSOAPBinding" type="tns:NSR">
>     	<soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http" />
> 		<wsdl:operation name="GetNSR">
> 			<wsdl:input>
> 				<soap:body use="literal" />
> 			</wsdl:input>
> 			<wsdl:output>
> 				<soap:body use="literal" />
> 			</wsdl:output>
> 			<wsdl:fault name="UnknownNSR">
> 				<soap:fault use="literal" name="UnknownNSR" />
> 			</wsdl:fault>
>        </wsdl:operation>
>    </wsdl:binding>
>
> 	<wsdl:service name="NSRService">
>     	<wsdl:port binding="tns:NSRSOAPBinding" name="soap">
>            <soap:address location="http://localhost:8192/NSRService/" />
>        </wsdl:port>
>    </wsdl:service>
>
> </wsdl:definitions>
>
>
>
>
> Adrian Co wrote:
>   
>> try changing the endpoint attribute in the http xbean.xml to match the 
>> port name of the wsdl
>>
>> Benamin wrote:
>>     
>>> That didn't work either.  Same result.
>>>
>>>
>>>
>>> pgodot wrote:
>>>   
>>>       
>>>> Try http://localhost:8192/NSRService/?wsdl
>>>>
>>>> -----Original Message-----
>>>> From: Benamin [mailto:ben@bisonline.com] 
>>>> Sent: jeudi, 10. mai 2007 17:00
>>>> To: servicemix-users@geronimo.apache.org
>>>> Subject: jsr problems
>>>>
>>>>
>>>> I am trying to expose a web service called NSRService such as in the
>>>> wsdl-first example.  When I browse to
>>>> http://localhost:8192/NSRService/main.wsdl, it doesn't display the wsdl. 
>>>> Any ideas on why it might not be able to find it?  I will list my xbeans
>>>> for
>>>> jsr and http below:
>>>>
>>>> <beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">
>>>>
>>>>     <classpath>
>>>>         <location>.</location>
>>>>     </classpath>
>>>>   
>>>>     <jsr181:endpoint
>>>> pojoClass="org.apache.servicemix.samples.servicemanagerassembly.NSRImpl"
>>>>                      wsdlResource="classpath:externalsystem.wsdl"
>>>>                      style="document" />
>>>>
>>>> </beans>
>>>>
>>>> <beans xmlns:http="http://servicemix.apache.org/http/1.0"
>>>>        xmlns:NSR="http://servicemix.apache.org/servicemanagerassembly">
>>>>
>>>>   <http:endpoint service="NSR:NSRService"
>>>>                  endpoint="soap"
>>>>                  role="consumer" 
>>>>                  locationURI="http://localhost:8192/NSRService/"
>>>>                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
>>>>                  soap="true"
>>>>                  soapAction="getNSR" />             
>>>>
>>>> </beans>
>>>>
>>>>
>>>>     
>>>>         
>>>   
>>>       
>>
>>     
>
>   


Re: jsr problems

Posted by Benamin <be...@bisonline.com>.
They are already the same.  Any other ideas?  Here is the wsdl:

<?xml version="1.0" encoding="UTF-8"?>

<!-- $Rev: 356052 $ $Date: 2005-12-11 14:41:20 -0800 (dim., 11 dc. 2005) $
-->
<wsdl:definitions name="ServiceManagerAssembly"
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:tns="http://servicemix.apache.org/samples/ServiceManagerAssembly"

xmlns:typens="http://servicemix.apache.org/samples/ServiceManagerAssembly/types"

targetNamespace="http://servicemix.apache.org/samples/ServiceManagerAssembly">

	<wsdl:types>
		<xsd:schema
targetNamespace="http://servicemix.apache.org/samples/ServiceManagerAssembly/types"
		            elementFormDefault="qualified">
			<xsd:element name="GetNSR">
			  <xsd:complexType>
					<xsd:sequence>
						<xsd:element name="request" type="xsd:string"/>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="GetNSRResponse">
			  <xsd:complexType>
					<xsd:sequence>
					    <xsd:element name="response" type="xsd:string"/>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="UnknownNSRFault">
			  <xsd:complexType>
					<xsd:sequence>
					    <xsd:element name="request" type="xsd:string"/>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		</xsd:schema>
  </wsdl:types>
	
	<wsdl:message name="GetNSRRequest">
		<wsdl:part name="payload" element="typens:GetNSR"/>
	</wsdl:message>
	<wsdl:message name="GetNSRResponse">
		<wsdl:part name="payload" element="typens:GetNSRResponse"/>
	</wsdl:message>
	<wsdl:message name="UnknownNSRFault">
		<wsdl:part name="payload" element="typens:UnknownNSRFault"/>
	</wsdl:message>

    <wsdl:portType name="NSR">
		<wsdl:operation name="GetNSR">
			<wsdl:input message="tns:GetNSRRequest"/>
			<wsdl:output message="tns:GetNSRResponse"/>
			<wsdl:fault name="UnknownNSR" message="tns:UnknownNSRFault"/>
		</wsdl:operation>
	</wsdl:portType>
	
    <wsdl:binding name="NSRSOAPBinding" type="tns:NSR">
    	<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
		<wsdl:operation name="GetNSR">
			<wsdl:input>
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="UnknownNSR">
				<soap:fault use="literal" name="UnknownNSR" />
			</wsdl:fault>
       </wsdl:operation>
   </wsdl:binding>

	<wsdl:service name="NSRService">
    	<wsdl:port binding="tns:NSRSOAPBinding" name="soap">
           <soap:address location="http://localhost:8192/NSRService/" />
       </wsdl:port>
   </wsdl:service>

</wsdl:definitions>




Adrian Co wrote:
> 
> try changing the endpoint attribute in the http xbean.xml to match the 
> port name of the wsdl
> 
> Benamin wrote:
>> That didn't work either.  Same result.
>>
>>
>>
>> pgodot wrote:
>>   
>>> Try http://localhost:8192/NSRService/?wsdl
>>>
>>> -----Original Message-----
>>> From: Benamin [mailto:ben@bisonline.com] 
>>> Sent: jeudi, 10. mai 2007 17:00
>>> To: servicemix-users@geronimo.apache.org
>>> Subject: jsr problems
>>>
>>>
>>> I am trying to expose a web service called NSRService such as in the
>>> wsdl-first example.  When I browse to
>>> http://localhost:8192/NSRService/main.wsdl, it doesn't display the wsdl. 
>>> Any ideas on why it might not be able to find it?  I will list my xbeans
>>> for
>>> jsr and http below:
>>>
>>> <beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">
>>>
>>>     <classpath>
>>>         <location>.</location>
>>>     </classpath>
>>>   
>>>     <jsr181:endpoint
>>> pojoClass="org.apache.servicemix.samples.servicemanagerassembly.NSRImpl"
>>>                      wsdlResource="classpath:externalsystem.wsdl"
>>>                      style="document" />
>>>
>>> </beans>
>>>
>>> <beans xmlns:http="http://servicemix.apache.org/http/1.0"
>>>        xmlns:NSR="http://servicemix.apache.org/servicemanagerassembly">
>>>
>>>   <http:endpoint service="NSR:NSRService"
>>>                  endpoint="soap"
>>>                  role="consumer" 
>>>                  locationURI="http://localhost:8192/NSRService/"
>>>                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
>>>                  soap="true"
>>>                  soapAction="getNSR" />             
>>>
>>> </beans>
>>>
>>>
>>>     
>>
>>   
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/jsr-problems-tf3722100s12049.html#a10418354
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: jsr problems

Posted by Adrian Co <ac...@exist.com>.
try changing the endpoint attribute in the http xbean.xml to match the 
port name of the wsdl

Benamin wrote:
> That didn't work either.  Same result.
>
>
>
> pgodot wrote:
>   
>> Try http://localhost:8192/NSRService/?wsdl
>>
>> -----Original Message-----
>> From: Benamin [mailto:ben@bisonline.com] 
>> Sent: jeudi, 10. mai 2007 17:00
>> To: servicemix-users@geronimo.apache.org
>> Subject: jsr problems
>>
>>
>> I am trying to expose a web service called NSRService such as in the
>> wsdl-first example.  When I browse to
>> http://localhost:8192/NSRService/main.wsdl, it doesn't display the wsdl. 
>> Any ideas on why it might not be able to find it?  I will list my xbeans
>> for
>> jsr and http below:
>>
>> <beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">
>>
>>     <classpath>
>>         <location>.</location>
>>     </classpath>
>>   
>>     <jsr181:endpoint
>> pojoClass="org.apache.servicemix.samples.servicemanagerassembly.NSRImpl"
>>                      wsdlResource="classpath:externalsystem.wsdl"
>>                      style="document" />
>>
>> </beans>
>>
>> <beans xmlns:http="http://servicemix.apache.org/http/1.0"
>>        xmlns:NSR="http://servicemix.apache.org/servicemanagerassembly">
>>
>>   <http:endpoint service="NSR:NSRService"
>>                  endpoint="soap"
>>                  role="consumer" 
>>                  locationURI="http://localhost:8192/NSRService/"
>>                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
>>                  soap="true"
>>                  soapAction="getNSR" />             
>>
>> </beans>
>>
>>
>>     
>
>   


RE: jsr problems

Posted by Benamin <be...@bisonline.com>.
That didn't work either.  Same result.



pgodot wrote:
> 
> Try http://localhost:8192/NSRService/?wsdl
> 
> -----Original Message-----
> From: Benamin [mailto:ben@bisonline.com] 
> Sent: jeudi, 10. mai 2007 17:00
> To: servicemix-users@geronimo.apache.org
> Subject: jsr problems
> 
> 
> I am trying to expose a web service called NSRService such as in the
> wsdl-first example.  When I browse to
> http://localhost:8192/NSRService/main.wsdl, it doesn't display the wsdl. 
> Any ideas on why it might not be able to find it?  I will list my xbeans
> for
> jsr and http below:
> 
> <beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">
> 
>     <classpath>
>         <location>.</location>
>     </classpath>
>   
>     <jsr181:endpoint
> pojoClass="org.apache.servicemix.samples.servicemanagerassembly.NSRImpl"
>                      wsdlResource="classpath:externalsystem.wsdl"
>                      style="document" />
> 
> </beans>
> 
> <beans xmlns:http="http://servicemix.apache.org/http/1.0"
>        xmlns:NSR="http://servicemix.apache.org/servicemanagerassembly">
> 
>   <http:endpoint service="NSR:NSRService"
>                  endpoint="soap"
>                  role="consumer" 
>                  locationURI="http://localhost:8192/NSRService/"
>                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
>                  soap="true"
>                  soapAction="getNSR" />             
> 
> </beans>
> 
> 

-- 
View this message in context: http://www.nabble.com/jsr-problems-tf3722100s12049.html#a10416332
Sent from the ServiceMix - User mailing list archive at Nabble.com.


RE: jsr problems

Posted by pgodot <pg...@temenos.com>.
Try http://localhost:8192/NSRService/?wsdl

-----Original Message-----
From: Benamin [mailto:ben@bisonline.com] 
Sent: jeudi, 10. mai 2007 17:00
To: servicemix-users@geronimo.apache.org
Subject: jsr problems


I am trying to expose a web service called NSRService such as in the
wsdl-first example.  When I browse to
http://localhost:8192/NSRService/main.wsdl, it doesn't display the wsdl. 
Any ideas on why it might not be able to find it?  I will list my xbeans for
jsr and http below:

<beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">

    <classpath>
        <location>.</location>
    </classpath>
  
    <jsr181:endpoint
pojoClass="org.apache.servicemix.samples.servicemanagerassembly.NSRImpl"
                     wsdlResource="classpath:externalsystem.wsdl"
                     style="document" />

</beans>

<beans xmlns:http="http://servicemix.apache.org/http/1.0"
       xmlns:NSR="http://servicemix.apache.org/servicemanagerassembly">

  <http:endpoint service="NSR:NSRService"
                 endpoint="soap"
                 role="consumer" 
                 locationURI="http://localhost:8192/NSRService/"
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
                 soap="true"
                 soapAction="getNSR" />             

</beans>




-- 
View this message in context:
http://www.nabble.com/jsr-problems-tf3722100s12049.html#a10414909
Sent from the ServiceMix - User mailing list archive at Nabble.com.




This email (and any attachments) contains confidential information, and is intended 
only for the named recipient. Distribution or copying of this email by anyone 
other than the named recipient is prohibited. If you are not the named or 
intended recipient, please notify TEMENOS or the sender immediately and 
permanently destroy this email (and any attachments) and all copies of it. No 
member of TEMENOS Group AG or any of its associated or affiliated companies is 
liable for any errors or omissions in the content or transmission of this 
email. Any opinions contained in this email are solely those of the author and, 
unless clearly indicated otherwise in writing, are not endorsed by any member 
of TEMENOS Group AG or any of its associated and affiliated companies.