Hey guys I'm running through the web service tutorial and I'm trying to use DefaultWsdl11Definition for generating the WSDL at runtime and automatic WSDL exposure. I'm using a weblogic server and my WSDL definition looks like such:
In essence the WSDL Should be exposed when I go to the URLCode:<bean id="holiday" class="org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition"> <property name="schema" ref="schema"/> <property name="portTypeName" value="HumanResource"/> <!-- we use a relative uri that will be transformed by spring-ws dep--> <property name="locationUri" value="http://localhost:7001/holidayService/"/> <property name="targetNamespace" value="http://mycompany.com/hr/definitions"/> </bean> <bean id="schema" class="org.springframework.xml.xsd.SimpleXsdSchema"> <property name="xsd" value="/WEB-INF/hr.xsd"/> </bean>
http://localhost:7001/holidayService/holiday.wsdl. But instead I'm getting the [Error 404 - not found] error. As mentiond, I'm packaging the war and deploying it to the weblogic server. Anybody have any insight? Is there any intermediary tests I can check to see if the WSDL is even being generated at runtime??
Thanks


Reply With Quote
