I am attempting to forward a workflow via SOAP. I just need to approve
it and add a comment. I get the workID, what's unclear is that when I
look at the WSDL, and using SOAPUI, what to fill in on the ser:Action
element.

The docs are all in Java, so it says to create an object of T_Action
and using the property T_Action.APPROVE but I am developing in
DirXMLscript and don't know what that value equates to. Putting in
"approve" for that, I send
<soapenv:Envelope event-id="0"
xmlns:ser="http://www.novell.com/provisioning/service"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<ser:forwardRequest>
<!--Optional:-->
<ser:arg0>6deba0f8d89145239d79b6eb51ace35f</ser:arg0>
<ser:Action>approve</ser:Action>
<ser:arg3>Assigned as SDE work order 123456</ser:arg3>
</ser:forwardRequest>
</soapenv:Body>
</soapenv:Envelope>

I get back
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>no serializer found for
"java.lang.IllegalArgumentException"</faultstring>
<detail>
<ns1:stackTrace xsi:type="ns1:stackTrace"
xmlns:ns1="http://www.novell.com/wssdk">
<ns1:dump
xsi:type="xsd:string">com.novell.soa.ws.binding.Ma rshalerNotFoundException:
no serializer found for "java.lang.IllegalArgumentException"
at
com.novell.soa.ws.impl.soap.LiteralEncodingStyle.w riteObject(LiteralEncodingStyle.java:414)
at
com.novell.soa.ws.impl.xml.OutputStreamImpl.writeO bject(OutputStreamImpl.java:122)
at
com.novell.soa.ws.impl.soap.ServerResponseImpl.wri teException(ServerResponseImpl.java:81)
at
com.novell.soa.af.impl.soap.Provisioning_ServiceSk eleton._invoke(Provisioning_ServiceSkeleton.java:2 593)
at
com.novell.soa.ws.server.ServletSkeleton.invokeEnd Point(ServletSkeleton.java:210)
at
com.novell.soa.ws.impl.soap.MessageHandlerInvoker. invokeServerMessageHandlers(MessageHandlerInvoker. java:348)
at
com.novell.soa.ws.impl.soap.SOAPHandler.handleServ erRequest(SOAPHandler.java:86)
at
com.novell.soa.ws.impl.rpc.ServerDelegateImpl.hand leServerRequest(ServerDelegateImpl.java:92)
at
com.novell.soa.ws.server.ServletSkeleton.handleReq uest(ServletSkeleton.java:109)
at
com.novell.soa.ws.server.ServletSkeleton.doPost(Se rvletSkeleton.java:319)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at com.novell.common.auth.JAASFilter.doFilter(JAASFil ter.java:103)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at
com.novell.soa.common.i18n.BestLocaleServletFilter .doFilter(BestLocaleServletFilter.java:228)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF ilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:230)
at
org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationV alve.invoke(SecurityAssociationValve.java:179)
at
org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:433)
at
org.jboss.web.tomcat.security.JaccContextValve.inv oke(JaccContextValve.java:84)
at
org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:104)
at
org.jboss.web.tomcat.service.jca.CachedConnectionV alve.invoke(CachedConnectionValve.java:156)
at
org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:241)
at
org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:580)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)</ns1:dump>
</ns1:stackTrace>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


--
rrawson
------------------------------------------------------------------------
rrawson's Profile: http://forums.novell.com/member.php?userid=4898
View this thread: http://forums.novell.com/showthread.php?t=338539