• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to post jobs in Monster using their webservice  RSS feed

 
Cathy daniel
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 all..
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Have you seen this?
http://xml.monster.com/doc/
Best wishes!
 
Cathy daniel
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ..
 
Vyas Sanzgiri
Ranch Hand
Posts: 686
Chrome Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some jars are conflicting. Try installing Axis again and check it out. There is a very good tool to work with web services soapUI
 
Mourouganandame Arunachalam
Ranch Hand
Posts: 398
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Cathy daniel
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

C:\Sun\AppServer\code>java org.apache.axis.wsdl.WSDL2Java -o . -d Session -s -p code MonsterBusinessGateway.wsdl


it waits for few seconds and throws the error

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)


thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!