File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes how to post jobs in Monster using their webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "how to post jobs in Monster using their webservice" Watch "how to post jobs in Monster using their webservice" New topic
Author

how to post jobs in Monster using their webservice

Cathy daniel
Greenhorn

Joined: May 19, 2009
Posts: 3
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
Bartender

Joined: Oct 04, 2006
Posts: 2193
Hi!
Have you seen this?
http://xml.monster.com/doc/
Best wishes!
Cathy daniel
Greenhorn

Joined: May 19, 2009
Posts: 3
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

Joined: Jun 16, 2007
Posts: 686

Some jars are conflicting. Try installing Axis again and check it out. There is a very good tool to work with web services soapUI


===Vyas Sanzgiri===
My Blog
Mourouganandame Arunachalam
Ranch Hand

Joined: Oct 29, 2008
Posts: 395
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
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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: how to post jobs in Monster using their webservice
 
Similar Threads
calling webservice by sending soap/xml request?
Java code reuqired urgently
Monster game java code required
Eating monsters problem solution
Howto limit requests to a webservice per day