2
내 POJO axis2 메서드가 빈 배열을 반환 할 때 클라이언트 측에서 빈 배열의 insted를 null로 남깁니다. 문제가 WSDL에 있다는 것을 알고 있습니다.Axis2 빈 배열
유효한 WSDL을 생성하도록 axis2를 구성하는 방법이 있습니까? 내가 프로그래밍, 축 서비스를 만들 :
ConfigurationContext context = ConfigurationContextFactory.createConfigurationContextFromFileSystem(null, null);
Map<String, MessageReceiver> mrMap = new HashMap<String, MessageReceiver>();
mrMap.put("http://www.w3.org/ns/wsdl/in-only", RPCInOnlyMessageReceiver.class.newInstance());
mrMap.put("http://www.w3.org/ns/wsdl/in-out", RPCMessageReceiver.class.newInstance());
AxisService service = AxisService.createService(...);
context.getAxisConfiguration().addService(service);
SimpleHTTPServer server = new SimpleHTTPServer(context, port);
server.start();
그리고 사람이 Axis2와 서비스에 대한 사용자 지정 SchemaGenerator의 예를 줄 수 있습니까?
감사합니다.