Andy Metcalfe

Greenhorn
+ Follow
since Nov 23, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Andy Metcalfe

I'm having trouble getting java2wsdl to pass through names to message part objects.

public String foo(String ick, String bar);

turns into

<wsdl:message name="fooRequest">
<wsdl art name="in0" type="xsd:string"/>
<wsdl art name="in1" type="xsd:string"/>
</wsdl:message>

I would like it to look like

<wsdl:message name="fooRequest">
<wsdl art name="ick" type="xsd:string"/>
<wsdl art name="bar" type="xsd:string"/>
</wsdl:message>

My ant compile task looks like:

<javac srcdir="${src.dir}" destdir="${build.dir}" debug="on" debuglevel="source,lines,vars">

I've read that compiling with debug info is critical to parameter names making it through to the WSDL, but I can't get this to work.

Help?

_Am
I'm trying to figure out JAXB, I've succesfully autogenerated the classes and interfaces, but I ran into an error.

One of the nested interfaces gives the error "Nested Type FOO hides an enclosing type".

The code looks something like:



package myPackage.jaxb;
public interface FOO {

java.util.List getBAR();

public interface BAR
extends javax.xml.bind.Element, myPackage.jaxb.FOO.FOO
{

}

public interface FOO {
java.lang.String getAssortedStuff();
void setAssortedStuff(java.lang.String value);
...
...
...
}
}



The source schema looks something like



What's going on here? Why is JAXB generating classes that won't compile?

_Am
[ February 22, 2005: Message edited by: Andy Metcalfe ]
I'm trying to figure out JAXB, I've succesfully autogenerated the classes and interfaces, but I ran into an error.

One of the nested interfaces gives the error "Nested Type FOO hides an enclosing type".

The code looks something like:



The source schema looks something like


What's going on here? Any help appreciated...

_Am
[ February 17, 2005: Message edited by: Andy Metcalfe ]
19 years ago
Ding! Thanks, that was it...

_Am
19 years ago
I'm having a problem where the reset(ActionMapping mapping,javax.servlet.ServletRequest request) method on my ActionForm is not being called. This is frustrating my attempts to use html:checkboxes with session-scope forms.

Here's my form:



and here's the corresponding entry from struts-config.xml


I know the method isn't being called because I don't see the System.out printing.

Any thoughts?

Thanks,

_Am

[ November 23, 2004: Message edited by: Andy Metcalfe ]
[ November 23, 2004: Message edited by: Andy Metcalfe ]
19 years ago