This discussion is archived
0 Replies Latest reply: Aug 17, 2010 9:10 AM by 786311 RSS

no content-type: java.net.UnknownServiceException

786311 Newbie
Currently Being Moderated
I created a webservice with getting XSD from MDS repository instead of proj xsd directory. Gave the WSDL to IBM team to call that webservice from there end. They are saying its erroring out when I put the xsd in MDS and it works fine when xsd in proj xsd directory.

Has anyone faced this issue. The error they are getting when xsd is called from MDS is

"WSDLException (at /wsdl:definitions/wsdl:types/schema): faultCode=OTHER_ERROR: A
n error occurred trying to resolve schema referenced at 'http://xxxxxxx:8001/soa-infra/services/default/xxxxxxx/xxxx/xxxx.xsd'
, relative to 'http://xxxxxxxx:8001/soa-infra/services/default/xxxxxxxxx/xxxxxxxx?WSDL'.: no content-type: java.net.Unknow
nServiceException: no content-type
at java.net.URLConnection.getContentHandler(URLConnection.java:1167)
at java.net.URLConnection.getContent(URLConnection.java:683)
at java.net.URL.getContent(URL.java:1021)
at com.ibm.wsdl.util.StringUtils.getContentAsInputStream(Unknown Source)

at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:516)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:495)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Thread.java:595)
"

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points