Hi

I am trying to use JaxRpc to consume a web service. I have configured my bean the same way that the jpetstore sample shows, ie: as follows

Code:
<beans>
	<bean id="HelloWorldService" class="org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean">
		<property name="serviceFactoryClass"><value>org.apache.axis.client.ServiceFactory</value></property>
		<property name="wsdlDocumentUrl"><value>http&#58;//maa5.rmb.co.za&#58;8008/HelloWorldServiceMike250.wsdl</value></property> 
		<property name="namespaceUri"><value>http&#58;//maa5.rmb.co.za&#58;8008/HelloWorldServiceMike250</value></property>   
		<property name="portName"><value>HelloWorldService</value></property>
		<property name="serviceName"><value>urn&#58;HelloWorldService</value></property>
		<property name="serviceInterface"><value>jaxrpc.HelloWorldService</value></property>
	</bean>
</beans>
I have tried changing the namespaceUri and serviceName to every possible configuration I can think of but I always get the following exception:

Code:
INFO&#58; Creating shared instance of singleton bean 'HelloWorldService'
2004/09/22 12&#58;29&#58;33 org.springframework.beans.factory.support.AbstractBeanFactory destroySingletons
INFO&#58; Destroying singletons in factory &#123;org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans &#91;HelloWorldService&#93;; Root of BeanFactory hierarchy&#125;
Exception in thread "main" org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'HelloWorldService' defined in file &#91;C&#58;\dev\workspace\spring\applicationContext.xml&#93;&#58; Initialization of bean failed; nested exception is javax.xml.rpc.ServiceException&#58; Error processing WSDL document&#58;  
javax.xml.rpc.ServiceException&#58; Error processing WSDL document&#58;  
javax.xml.rpc.ServiceException&#58; Cannot find service&#58;  &#123;http&#58;//maa5.rmb.co.za&#58;8008/HelloWorldServiceMike250&#125;urn&#58;HelloWorldService
javax.xml.rpc.ServiceException&#58; Error processing WSDL document&#58;  
javax.xml.rpc.ServiceException&#58; Error processing WSDL document&#58;  
javax.xml.rpc.ServiceException&#58; Cannot find service&#58;  &#123;http&#58;//maa5.rmb.co.za&#58;8008/HelloWorldServiceMike250&#125;urn&#58;HelloWorldService
	at org.apache.axis.client.Service.initService&#40;Service.java&#58;278&#41;
	at org.apache.axis.client.Service.<init>&#40;Service.java&#58;193&#41;
	at org.apache.axis.client.ServiceFactory.createService&#40;ServiceFactory.java&#58;232&#41;
	at org.springframework.remoting.jaxrpc.LocalJaxRpcServiceFactory.createJaxRpcService&#40;LocalJaxRpcServiceFactory.java&#58;152&#41;
	at org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor.afterPropertiesSet&#40;JaxRpcPortClientInterceptor.java&#58;226&#41;
	at org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean.afterPropertiesSet&#40;JaxRpcPortProxyFactoryBean.java&#58;52&#41;
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods&#40;AbstractAutowireCapableBeanFactory.java&#58;801&#41;
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;249&#41;
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;177&#41;
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;159&#41;
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons&#40;DefaultListableBeanFactory.java&#58;177&#41;
	at org.springframework.context.support.AbstractApplicationContext.refresh&#40;AbstractApplicationContext.java&#58;268&#41;
	at org.springframework.context.support.FileSystemXmlApplicationContext.<init>&#40;FileSystemXmlApplicationContext.java&#58;60&#41;
	at jaxrpc.ServiceLauncher.bind&#40;ServiceLauncher.java&#58;27&#41;
	at jaxrpc.ServiceLauncher.main&#40;ServiceLauncher.java&#58;31&#41;
When I use Axis with the wsdl2java ant task, with the same url it works fine, can anybody tell me what I should be entering for the following:
1. url
2. namespaceUri
3. portName
4. serviceName


Below is the wsdl file I am using:

Code:
  <?xml version="1.0" encoding="utf-8" ?> 
- <definitions targetNamespace="urn" xmlns="http&#58;//schemas.xmlsoap.org/wsdl/" xmlns&#58;soap="http&#58;//schemas.xmlsoap.org/wsdl/soap/" xmlns&#58;tns="urn" xmlns&#58;xsd="http&#58;//www.w3.org/2001/XMLSchema">
  <message name="HelloOperation" /> 
- <message name="HelloOperationResponse">
  <part name="return" type="xsd&#58;string" /> 
  </message>
- <portType name="HelloWorldService">
- <operation name="HelloOperation">
  <documentation parameterOrder="">Hello World Method</documentation> 
  <input message="tns&#58;HelloOperation" /> 
  <output message="tns&#58;HelloOperationResponse" /> 
  </operation>
  </portType>
- <binding name="HelloWorldService" type="tns&#58;HelloWorldService">
  <soap&#58;binding style="rpc" transport="http&#58;//schemas.xmlsoap.org/soap/http/" /> 
- <operation name="HelloOperation" selector="hello">
  <soap&#58;operation soapAction="" /> 
- <input>
  <soap&#58;body use="literal" namespace="urn" /> 
  </input>
- <output>
  <soap&#58;body use="literal" namespace="urn" /> 
  </output>
  </operation>
  </binding>
- <service name="HelloWorldService">
- <port name="HelloWorldService" binding="tns&#58;HelloWorldService">
  <soap&#58;address location="http&#58;//maa5.rmb.co.za&#58;8819/HelloWorldService" /> 
  </port>
  </service>
  <schemaBindings /> 
  </definitions>
Please help!!! Also read the relevant sections from Rod's book "J2EE Development Without EJB" but I'm still not winning