This discussion is archived
1 Reply Latest reply: Dec 17, 2012 11:55 AM by jtahlborn RSS

importing xsd file

859967 Newbie
Currently Being Moderated

I am trying to create a webservice from wsdl file and i got undefined type error.
 undefined simple or complex type 'ds:DigestMethodType' 
So it is completly from xsd problem.

here is the header of my xsd:
xmlns:env="" elementFormDefault="qualified">
and this is the importing part of xsd
<xs:import namespace=""/> 
<xs:import namespace="" /> 
<xs:import namespace="" /> 
is there any issue with xmldsig namespace importing? I have tried to download its xsd to have it imported like this:
<xs:import namespace="" schemaLocation="dsig.xsd"/> 
but then i see missing for the soap-evenlop and xmlenc too. I believe these xsds also import other xsd files hence this is not a good solution.

if you have a comment to resolve this issue?

i am using netbeans 7.2.1, java jdk 1.7 and glassfish 3.1.2


Edited by: litpu on Dec 16, 2012 6:02 PM
  • 1. Re: importing xsd file
    jtahlborn Expert
    Currently Being Moderated
    You need to have all the referenced schemas in order for the tools to work. i'm pretty sure that all of that stuff is pretty much irrelevant in terms of pojo stub generation, so you could create a stripped down wsdl w/ all the security stuff removed for the purposes of creating the relevant pojos.


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