Hi Dan,

I've created an eclipse project for the thing, you can download it here
(zipped, ~20kb):
http://viru55.npage.de/get_file.php?id=11510865&vnr=586013

to answer your questions:
1)CXF 2.2.6
2)removed asm-2.2.3.jar, same stack trace
3)interface was generated (everything works if requested with a value for
the parameter), below are the GetMDEStatus- and
MDEStatusServiceSoapImpl-Classes(the latter responsible for the output,
thought you wanted that despite the other name)


GetMDEStatus:

package de.lbbw.webservices.mde_stats;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained
within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType";>
 *       &lt;sequence>
 *         &lt;element name="process_name"
type="{http://www.w3.org/2001/XMLSchema}string"; minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "processName"
})
@XmlRootElement(name = "GetMDEStatus")
public class GetMDEStatus {

    @XmlElementRef(name = "process_name", namespace =
"http://mde_stats.webservices.lbbw.de/";, type = JAXBElement.class)
    protected JAXBElement<String> processName;

    /**
     * Gets the value of the processName property.
     * 
     * @return
     *     possible object is
     *     {...@link JAXBElement }...@code <}...@link String }...@code >}
     *     
     */
    public JAXBElement<String> getProcessName() {
        return processName;
    }

    /**
     * Sets the value of the processName property.
     * 
     * @param value
     *     allowed object is
     *     {...@link JAXBElement }...@code <}...@link String }...@code >}
     *     
     */
    public void setProcessName(JAXBElement<String> value) {
        this.processName = ((JAXBElement<String> ) value);
    }

}




MDEStatusServiceSoapImpl:

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

package de.lbbw.webservices.mde_stats;

import java.util.logging.Logger;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 2.2.6
 * Wed Mar 17 15:02:38 CET 2010
 * Generated source version: 2.2.6
 * 
 */

@javax.jws.WebService(
                      serviceName = "MDEStatusService",
                      portName = "MDEStatusServiceSoap",
                      targetNamespace =
"http://mde_stats.webservices.lbbw.de/";,
                      wsdlLocation =
"http://localhost:8083/test3/services/MDEStatusServiceSoap?wsdl";,
                      endpointInterface =
"de.lbbw.webservices.mde_stats.MDEStatusServiceSoap")
                      
public class MDEStatusServiceSoapImpl implements MDEStatusServiceSoap {

    private static final Logger LOG =
Logger.getLogger(MDEStatusServiceSoapImpl.class.getName());

    /* (non-Javadoc)
     * @see
de.lbbw.webservices.mde_stats.MDEStatusServiceSoap#getMDEStatus(java.lang.String
 
processName )*
     */
    public java.lang.String getMDEStatus(java.lang.String processName) { 
        LOG.info("Executing operation getMDEStatus");
        System.out.println(processName);
        try {
            java.lang.String _return = "_return-2102013970";
            return _return;
        } catch (Exception ex) {
            ex.printStackTrace();
            throw new RuntimeException(ex);
        }
    }

}





dkulp wrote:
> 
> 
> Can you package your little testcase into a project and attach to a JIRA?   
> That will help get it into a state to debug.
> 
> Thoughts:
> 1) What version of CXF?
> 2) Can you try removing the ASM jar from the classpath and see if the
> stack 
> trace is different?
> 3) Was the service interface generated from the wsdl?   What is the full 
> method signature (with annotations) for GetMDEStatus method?
> 
-- 
View this message in context: 
http://old.nabble.com/can%27t-send-request-to-WS-with-MINOCCURS%3D0-tp27931946p27932872.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to