Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

StackOverFlowError

 
Altaf Khatri
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to consume a webservice. I am using GLUE for it. I am getting java.lang.StackOverFlowError. Can any one point out what is the problem?
The error is:
at electric.xml.io.complex.ComplexType.addDependencies(Unknown Source
)
at electric.xml.io.Type.addAllDependencies(Unknown Source)
at electric.xml.io.Type.addAllDependencies(Unknown Source)
at electric.xml.io.Mapping.newType(Unknown Source)
at electric.xml.io.mapping.MappingTypeFactory.newType(Unknown Source)
at electric.xml.io.TypeFactories.newType(Unknown Source)

at electric.xml.io.Namespaces.getTypeWithQName(Unknown Source)
at electric.xml.io.Namespaces.getTypeWithQName(Unknown Source)
at electric.xml.io.schema.SchemaEntry.getType(Unknown Source)
at electric.xml.io.schema.SchemaElement.getType(Unknown Source)
at electric.xml.io.schema.SchemaEntry.addDependencies(Unknown Source)
at electric.xml.io.model.All.addDependencies(Unknown Source)
at electric.xml.io.complex.ComplexType.addDependencies(Unknown Source
)

at electric.xml.io.Type.addAllDependencies(Unknown Source)
at electric.xml.io.Type.addAllDependencies(Unknown Source)
at electric.xml.io.Mapping.newType(Unknown Source)
at electric.xml.io.mapping.MappingTypeFactory.newType(Unknown Source)
at electric.xml.io.TypeFactories.newType(Unknown Source)
at electric.xml.io.Namespaces.getTypeWithQName(Unknown Source)
at electric.xml.io.Namespaces.getTypeWithQName(Unknown Source)
at electric.xml.io.schema.SchemaEntry.getType(Unknown Source)
at electric.xml.io.schema.SchemaElement.getType(Unknown Source)
at electric.xml.io.schema.SchemaEntry.addDependencies(Unknown Source)
at electric.xml.io.model.All.addDependencies(Unknown Source)
at electric.xml.io.complex.ComplexType.addDependencies(Unknown Source
)


The one marked in bold is iterated.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are you creating the client code?
What types are declared in the WSDL for the service?
Bill
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch Sunny Java,

You may have missed the JavaRanch official policy on registered names. While the display name can be fictitious, we ask that it is not obviously fictitious. You can adjust your display name here. Your cooperation is appreciated.
 
Altaf Khatri
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using wsdl2java to create client side object. The objects defined are like name which contains first name, middle name, last name as string.

Is this error because I am missing out on some properties file at the appropriate place.

Regards,
A K
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A K,

Please update your display name to comply with the JavaRanch official policy on registered names. While initials are permitted for first names, some plausible (i.e. not obviously fictitious) full last name is required. Please also be aware that your account will be locked if your display name does not comply with the policy after your third reminder.

Your cooperation is appreciated.
 
praveen mpillai
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am also getting a StackOverflowError when trying to bind a wsdl using GLUE. I am getting the same error as mentioned in the original thread. Please help. Appreciate the earliest reply
 
praveen mpillai
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I got the solution. There is a map file getting generated by GLUE as a n output of wsdl2java. When GLUE generates that map file from an Axis wsdl published, It generates the OSA type Set entry in a wrong way so that it leads to a recursion. I have edited the map file to correct thet entry(may be it is a work around) and StackOverFlowError disappeared.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic