Consfused newbie

2007-07-20 Thread Mark Babcock
I have built the following tutorial with no issues:

 

http://cwiki.apache.org/CXF20DOC/writing-a-service-with-spring.html

 

 

However, I added my own concrete class and interface and new endpoint in
the beans.xml

 

And I can visit the url and see a wsdl.  But every time I try to consume
it all my objects from what I just created are null.   Why?

 

- beans.xml ---

 

http://www.springframework.org/schema/beans";

 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

 xmlns:jaxws="http://cxf.apache.org/jaxws";

 xsi:schemaLocation="

http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd

http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd";>

 















  





 

 

--  interface 

 

 

package com.cid.xscout.service;

 

 

import com.cid.xscout.bean.Document;

import com.cid.xscout.bean.Taxonomy;

 

import javax.jws.WebMethod;

import javax.jws.WebService;

 

@WebService

public interface XscoutWebService {

 

  

  @WebMethod

  String a();

}

 

 

 concrete class 

package com.cid.xscout.service;

 

import javax.jws.WebService;

 

@WebService

public class XscoutWebServiceImpl implements XscoutWebService{

public String a() { return "why";}

}

 



Newbie Question

2007-07-19 Thread Mark Babcock
I have worked through the examples on the wiki and looked at the
tutorials. 

 

I'm looking for help on howto create a complex type.   

 

I have a method that I want to return a java bean and more specifically
an array of java beans.  Can someone please help me with this.

 

 

Interface

 

UserBean[] getBean();