-
Nov 12th, 2007, 08:18 AM
#21
Am specifying the url: http://localhost:8080/mtom-name/mtom/mtom.wsdl
Which is same URL I specify on the browser too. And when I try accessing the common.xsd as http://localhost:8080/mtom-name/mtom/common.xsd, I get HTTP 405 error.
And the common.xsd is in the /WEB-INF directory. And I have tried variations as follows in the spring servlet xml:
<bean class="org.springframework.ws.wsdl.wsdl11.builder. XsdBasedSoap11Wsdl4jDefinitionBuilder">
<property name="schema" value="/WEB-INF/schema.xsd"/>
<property name="followIncludeImport" value="true"/>
<!--
<property name="schema" value="/WEB-INF/schema.xsd" />
<property name="schemaLocation" value="classpath:schema.xsd" />
-->
<!--
<property name="schema" value="/WEB-INF/schema.xsd"/>
<property name="schemaLocation" value="/WEB-INF/common.xsd" />
<property name="followIncludeImport" value="true"/>
-->
<!--
<property name="schema" value="/xsd/schema.xsd" />
<property name="schemaLocation" value="/xsd/common.xsd" />
<property name="followIncludeImport" value="true"/>
<property name="locationUri" value="http://${webService.host}/LHService/services" />
<property name="prefix" value="tns" />
<property name="schemaPrefix" value="schema" />
<property name="targetNamespace" value="http://www.springframework.org/ws/samples/mtom/schema" />
-->
<property name="portTypeName" value="ImageRepository"/>
<property name="locationUri" value="http://localhost:8080/mtom/"/>
</bean>
Thanks
Sunil
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules