how to post jobs in Monster using their webservice
Cathy daniel
Greenhorn
Joined: May 19, 2009
Posts: 3
posted
0
Greeting all !!
I am new to webservice ... our application uses java platform ... now the client asked us to publish their jobs request in Monster ... I dont know how to start it ... I read something in webservice ... got quite confused... kindly help me..
We have an HR application in servlet and java script .. onclick of an button ... the client wats us to publish the list of job request to Monster ...
Thanks for the reply ... yes I saw ... I can get the WSDL file .. now the problem is converting the WSDL file to client stub ... i made some research ... some say its good to use Axis ... I try to install it ... got some error
"org.apache.axis.InternalException: org.apache.axis.ConfigurationException: org.apache.axis.deployment.wsdd.WSDDException: Must include type attribute for Handler deployment!
org.apache.axis.deployment.wsdd.WSDDException: Must include type attribute for Handler deployment!
"
I am using Tomcat5.5 and jdk1.5.0_15 ... It will be good if some could help me in creating the stub client ... thanks a lot once again ..
now the problem is converting the WSDL file to client stub
are you using any IDE? simply use netbeans IDE (or other similar IDE) ... it provides option to generate required stub files from an existing WSDL file.
Mourougan
Open Source leads to Open Mind
Cathy daniel
Greenhorn
Joined: May 19, 2009
Posts: 3
posted
0
Thanks for the reply .. I am not using any IDE... I finally installed Axis and try to develop the stub file for the example files ... I am able to do it ... but when I develop the stub for monster WSDL file I get Connection timed out error..
below is the cmd for generating stubfiles
WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema[1]): faultCode=OTHER_E
RROR: An error occurred trying to resolve schema referenced at 'http://schemas.m
onster.com/current/xsd/AuthenticateByCompanyAccessTicket.xsd', relative to 'file
:/C:/Sun/AppServer/code/MonsterBusinessGateway.wsdl'.: Connection timed out: con
nect: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
at java.net.URLConnection.getContent(Unknown Source)
at java.net.URL.getContent(Unknown Source)
at com.ibm.wsdl.util.StringUtils.getContentAsInputStream(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Unknown Source)