Interstage 5 Application Server ( Solaris ) SOAP Service Internet
Sample Test SOAP Server Application SOAP Client Application CORBA/SOAP Server Gateway CORBA/SOAP Gateway Client
INTERSTAGE SOAP Service -Web - INTERNET, INTRANET SOAP(Simple Object Access Protocol) Web Service - Application INTERSTAGE CORBA, EJB Application -MicrosoftNET (COM+ ) Application SOAP Client INTERSTAGE INTERSTAGE SOAP Client Application Internet/Intranet SOAP XML WWW Server INTERSTAGE INTERSTAGE SOAP Application EJB SOAP Service CORBA SOAP INTERNET Application XML INTERSTAGE EJB, CORBA SOAP Service SOAP Gateway SOAP Service SOAP SOAP Gateway Appliation SOAP Gateway XML EJB CORBA SOAP Service Gateway SOAP XML Application
FUJITSU GRANPOWRE 7000 All Rights Reserved, Copyright FUJITSU CORBA-SOAP Gateway (1) CORBA/SOAP -CORBA SOAP - CORBA,TD,EJB SOAP - JAVA SOAP - Microsoft NET SOAP Client Application SOAP XML INTERSTAGE JServlet WWW SOAP CORBA/SOAP SOAP Service manager SOAP Service IIOP RMI over IIOP INTERSTAGE CORBA Object Director TD EJB CORBA/SOAP (2) CORBA/SOAP -CORBA SOAP - CORBA/SOAP Client Gateway CORBA - CORBA Client IIOP INTERSTAGE Object Director CORBA/SOAP Client Gateway SOAP XML INTERSTAGE JServlet SOAP WWW Server SOAP Application A SOAP Application B SOAP Service manager SOAP CORBA/SOAP
Interstage 5 easy, custom 2, SOAP Service Interstage easy SOAP
Interstage 5 easy mode SOAP Service 1 Servlet Gateway Interstage SOAP Service Client Servlet Interstage Jservlet SOAP Container Interstage5 FJApache InfoProvider Pro 2 FJApache /opt/fjsvihs/conf/jsgw_apapiconf Interstage Custom InfoProvider Pro /opt/fjsvihs/conf/jsgwconf Interstage Custom
2 jswatchconf /opt/fjsvjs2/conf/jswatchconf SOAP_ROUTER <Container > /opt/fjsvsoap/conf/soap_containerxml <== SOAP /opt/fjsvsoap/lib/issoapjar /opt/fjsvsoap/examples <== Interstage SOAP Library <== soap example
3 jswatchconf SOAP_ROUTER - /opt/fjsvsoap/conf/soap_containerxml - < /opt/fjsvsoap/conf/soap_containerxml > SOAP Interstage Custom
4 Servlet < > # cd /opt/fjsvjs2/bin # jssvstop () # jssvstart ( ) < IPP > <FJApache >
5 SOAP Service URL SOAP Service, SOAP
6 SOAP Management Tool 12000 URL SOAP Manegement Tool ( : root/**** )
SOAP Operation Click!!
SOAP /soap_admin/servlet/soaprpcrouter Next Click!!
SOAP Service Information Edit Tool SOAP, Deploy
Sample Test All Rights Reserved, Copyright FUJITSU
Interstage 5 SOAP example Test PATH CLASSPATH PATH : /opt/fjsvsoap/bin CLASSPATH : /opt/fjsvsoap/lib/issoapjar:/opt/fjsvj2ee/lib/isj2eejar:/opt/fjsvsoap/examples 1 SOAP Service SOAP Service Deploy /opt/fjsvsoap/examples/ # cd /opt/fjsvsoap/examples/calc/server # javac CalcServerjava ( /opt/fjsvsoap/bin PATH ) # soapmodifydd -url http://localhost:12000/soap_admin/servlet/soaprpcrouter -deploy -urn urn:sample-calc DeploymentDescriptorxml <SOAP > soapmodifydd -url http://localhost:12000/soap_admin/servlet/soaprpcrouter -deploy -urn <urn > <DeploymentDescriptorxml > < SOAP > soapmodifydd -url http://localhost:12000/soap_admin/servlet/soaprpcrouter -list < > soapmodifydd -url http://localhost:12000/soap_admin/servlet/soaprpcrouter -query -urn <urn > < > soapmodifydd -url http://localhost:12000/soap_admin/servlet/soaprpcrouter -undeploy -urn <urn >
2 Client Test # cd /opt/fjsvsoap/examples/calc/client # javac CalcClientjava ( CLASSPATH ) Test # java CalcClient http://localhost/soap_examples/servlet/soaprpcrouter # java CalcClient http://20324811237/soap_examples/servlet/soaprpcrouter Please input first number: 4 Please input second number: 7 4 + 7 = 11, SOAP Test
SOAP Server Application SOAP Application examples Interstage Apworks SOAP Server Application
0 SOAP Apworks SOAP PC SW 1 Interstage 5 Client Package 2 Apworks 5 EJB, CORBA Application SOAP Application (1) hosts Interstage Server IP Windows2000 : c: winnt/system32/drivers/etc/hosts Windows95/98 : c: windows/hosts ( ) 101679273 hostname (2) C: INTERSTAGE ODWIN etc INITHOST hostname 8002
1 SOAP Server Application Apworks SOAP Server Application 2 1 Service Java Application, Deploy XML, WSDL 2 WSDL SOAP Server Application 1 [SOAP server Application ] -> [Deploy WSDL ] -> [Interstage SOAP ] (1) SOAP Server Application ( Java Application ) [ File ] -> [ New ] -> [ Project ] Project name Project Type Pure Java Application
Class Source,
Class Package [ ]! interface [ ]!
[ Add ]!, return type [OK] [ ]
StringTestjava stradd // public String stradd(string param1, String param2) { } // String strret = param1 + param2; return strret; Build [ build ] -> [ build ] build jar
(2) DeployWSDL -Deploy : Interstage SOAP Service (XML) -WSDL : Web Service SOAP Server [ Tools ] -> [ Generate SOAP Deploy File ] - SOAP Server Application CLASS, [ ] ( package full package )
SOAP [ ] scope session >
[ ] Deploy WSDL Apworks [ Deploy ]
WSDL soap:address location SOAP URL Build jar, Deploy, WSDL ftp
Deploy Interstage SOAP ( ) <SOAP > # soapmodifydd -url http://localhost:12000/soap_admin/servlet/soaprpcrouter -deploy -urn urn:stringtest StringTest_ddxml < > # soapmodifydd -url http://localhost:12000/soap_admin/servlet/soaprpcrouter -query -urn urn:stringtest < > # soapmodifydd -url http://localhost:12000/soap_admin/servlet/soaprpcrouter -undeploy -urn urn:stringtest jswatchconf SOAP Server CLASSPATH ( ) soap_routerenv=classpath=/opt/fjsvjs2/classes/servletjar soap_routerenv=classpath=/opt/fjsvsoap/examples/soapserverjar # jssvstop # jssvstart SOAP
SOAP Client Application SOAP Application examples Interstage Apworks SOAP Client Application
0 SOAP Apworks SOAP PC SW 1 Interstage 5 Client Package 2 Apworks 5 EJB, CORBA Application SOAP Application (1) hosts Interstage Server IP Windows2000 : c: winnt/system32/drivers/etc/hosts Windows95/98 : c: windows/hosts ( ) 101679273 hostname (2) C: INTERSTAGE ODWIN etc INITHOST hostname 8002
1 SOAP Client Application Apworks SOAP WSDL SOAP Client Application [SOAP Clietn Application ] -> [ ] -> [ ] (1) SOAP Client Application ( Java Application ) [ File ] -> [ New ] -> [ Project ] Project name Project Type Pure Java Application
SOAP Access Class Source(Java),
WSDL file urn
java [ ] StringTestjava main StringTestjava main() // public static void main(string[] args) throws comfujitsuinterstagesoapsoapexception { } SoapServerStringTestStringTest test = new SoapServerStringTestStringTest(); String a = " "; String b = " "; String strret = teststradd(a,b); Systemoutprintln("SOAP Return String is : " + strret); //
issoapjar [ ] -> [Properties ] -> [Classpath] [Run] Class name Argument
[build], ( [build] -> [run] ) completion code = 0
CORBA/SOAP Server Gateway Interstage EJB Application, CORBA Application, TD Application SOAP CORBA/SOAP Server Gateway, TD Application(TP Monitor Service) SOAP Service
1 IDL CORBA Application TD Application IDL soap # IDLc soap MSV <IDL > ex) # IDLc soap MSV Puridl CORBA/SOAP Server Gateway -MSV 2 IDL Java Source jar Ex) # cd Pur ( ) # javac *java ( ) # cd ( ) # jar cvf PurGWjar Pur (jar ) 3 jar jswatchconf soap_router classpath
4 1, IDL soap 1 xml, CORBA TD Application Naming Service urn #soapmodifydd -url http://localhost:12000/soap_admin/servlet/soaprpcrouter -deploy -urn Pur::Good _GoodSOAPGW_ddxml Naming Service XML
5 WSDL Interstage IDL WSDL Interstage Web Service Apworks, #soapidl2wsdl <IDL > WSDL Interstage SOAP Router ( ) WSDL SOAP Client Application Interstage Apworks WSDL Java SOAP Client Application
CORBA/SOAP Gateway Client CORBA-SOAP Gateway Interstage APWorks WSDL SOAP Client Application
1 Apworks [Component Designer ] 2 [File]-[New Project] Pure Java Application Project Java Form
3 [File]-[New] SOAP Access Source WSDL urn
Access SOAP Service >
4 SOAP Java WSDL Interstage SOAP Apworks [SOAP Client Application ]