현재 프로젝트 weblogic 6.1 -.-;
웹서비스 작업해야 하는데, 6.1 에서는 Stateless Session Bean, Message Driven Bean 에만
웹서비스를 생성 할 수 있다.
ant task 중에서 wsgen 이라는게 있더군.
그래서 ant build 파일 만들어서 빌드 하고 ear 을 weblogic 에 심어줬다.
자바 클라이언트로는 dynamic, static 둘다 잘 됨.
그러나~~~~~
asp.net 2.0 에서 자바 웹서비스를 생성하지 못한다.
웹서비스 참조 걸었을 경우 map파일을 만들지 못함.
왜!!!!
웹로직에서 생성한 웹서비스의 wsdl.jsp 에 문제가 있다.
<definitions
targetNamespace="java:com.xxx"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="java:com.xxx"
>
xmlns 가 1999 라서 문제가 생긴다.
문제를 빨랑 해결해야 해서...
ear 파일 까고, war 파일 까서...
아래와 같이 고쳤다.
<definitions
targetNamespace="java:com.xxx"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="java:com.xxx"
>
년도만 2001 로 고쳤더니 잘 됨.
버젼이 낮으니 이런 문제도 발생을 하는군요.
'JAVA > JEE' 카테고리의 다른 글
Sitemesh 에서 Struts2 액션 사용하기 (0) | 2008.11.26 |
---|---|
Invoking Web Services Without Using the WSDL File (0) | 2008.08.05 |
[java mail] javax.mail.internet.ParseException 발생... (0) | 2007.07.06 |
[java mail] access to default session denied 에러발생시... (1) | 2007.07.05 |
http://xfire.codehaus.org/ (0) | 2006.11.01 |