사용자 인터페이스에서 SOAP 웹 서비스를 사용하는 방법은 무엇입니까?
.. 내가 "자바 응용 프로그램으로 실행"할 때 완벽하게 작동하고 .. 내 웹 서비스에서 SOAP를 설치 을 성공적으로 이미 이제 웹 서비스를 수행하고 있어요
내 클라이언트 방법 :
public static void main(String[] args) {
LogbookSOAPServiceLocator locator = new LogbookSOAPServiceLocator();
try {
LogbookSOAP logbookSOAP = locator.getLogbookSOAPPort();
System.out.println(logbookSOAP.fetchLog("21").getDriverName());
} catch (ServiceException e) {
e.printStackTrace();
} catch (RemoteException e) {
e.printStackTrace();
}
}
이것은 콘솔에서 성공적으로 작동하며 사용자 인터페이스에서 사용할 수 있습니까? .jsp 파일을 좋아하세요?
감사합니다.
안녕하세요, 고맙습니다 ..하지만 당신은 JSP로 SOAP을 호출하는 방법에 대한 예제를 줄 수 있습니까? 감사 – AlbertSamuel