The only logging for consuming webservices is to set your Plugin Logging level 
to 100 (or greater) in your ar.conf (ar.cfg in Windows).
My ar.conf file on development has the following in it:   Plugin-Log-Level: 400 
 
If the service you are trying to consume is not able to be consumed from the 
standard Remedy webservice plugin you can build your filter to consume the web 
service with the ARSPerl plugin and the SOAP::Lite module.
 
Fred

________________________________

From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] 
On Behalf Of Klebe, Tim (Accenture)
Sent: Friday, June 01, 2007 6:18 AM
To: arslist@ARSLIST.ORG
Subject: AW: Consuming WebService - No support for attachments error


** 
Hello Fred,
 
you are right the Telelogic WSDL contains the following:
 
<s:element xmlns:xmime="http://www.w3.org/2005/05/xmlmime"; name="attachment" 
type="s:base64Binary" xmime:expectedContentTypes="application/binary"/>
 
I removed all the methods with attachment and build a new WebService in Remedy. 
But when I trigger the WebService in the Client I got the following error:
ARERR [9130] An exception occurred from the WebService class : (404)Not Found.
I checked if I deleted too much in the wsdl but it seems all right. Also the 
adress location contains the correct value.
 
Do you have any hint or idea how to log the Java stuff (e.g. axis.jar) 
processed in Remedy?
An other problem is that the Telelogic Change Webservices expect its parameters 
in an array (with no finite size) which I can not map in Remedy. So it seems we 
have to build some Java stuff between Remedy and Telelogic Change.

Tim


[Klebe, Tim (Accenture)]  -----Ursprüngliche Nachricht-----
Von: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] 
Auftrag von Grooms, Frederick W
Gesendet: Freitag, 25. Mai 2007 15:19
An: arslist@ARSLIST.ORG
Betreff: Re: Consuming WebService - No support for attachments error



        ** 
        What does the Telelogic WSDL look like?  If it defines an element of 
type Attachment (even though you are not using it) it may be causing the error. 
 You may need to create your own WSDL for the Telelogic service (leaving out 
the offending element).
         
        Fred

________________________________

        From: Action Request System discussion list(ARSList) [mailto:[EMAIL 
PROTECTED] On Behalf Of Klebe, Tim (Accenture)
        Sent: Friday, May 25, 2007 2:46 AM
        To: arslist@ARSLIST.ORG
        Subject: Re: Consuming WebService - No support for attachments error
        
        
        ** 
        Thank you Fred, but the Telelogic shouldn't send any attachment in this 
method. It is just a login (only some string parameters) and I expect a token 
(only one string). I use the same packages and versions (axis.jar, saaj.jar, 
jaxrpc) in Javacode (works) and Remedy (works not).
        Does anybody know how I can log the Java code processing in remedy? 
Maybe how to set the log4j.properties in /ArSystem/server/? There is an antry 
log4j.appender.LOGFILE.File=axis.log but I can not find an axis.log file.
         
        Tim

                -----Ursprüngliche Nachricht-----
                Von: Action Request System discussion list(ARSList) 
[mailto:[EMAIL PROTECTED] Auftrag von Grooms, Frederick W
                Gesendet: Donnerstag, 24. Mai 2007 15:26
                An: arslist@ARSLIST.ORG
                Betreff: Re: Consuming WebService - No support for attachments 
error
                
                
                ** 
                What does the WSDL you are trying to consume look like.  It 
could be that the Telelogic Web Service you are trying to consume has 
attachments defined differently (or somewhat strangely).
                 
                Remedy seems to define an attachment in their WSDL as 
type="xsd:base64Binary" 
                 
                Fred

________________________________

                From: Action Request System discussion list(ARSList) 
[mailto:[EMAIL PROTECTED] On Behalf Of Klebe, Tim (Accenture)
                Sent: Thursday, May 24, 2007 2:22 AM
                To: arslist@ARSLIST.ORG
                Subject: Consuming WebService - No support for attachments error
                
                
                ** 


                        Hello, 

                        when I call a Webservice in Remedy 7 I get the 
following exception in the client: 

                        ARERR [9130] An exception occurred from the WebService 
class : ; nested exception is: 
                                java.lang.RuntimeException: No support for 
attachments 

                        With a Java and the use of Axis I can call the 
Webservice and got a correct response. 
                        By the way anybody else already built an interface to 
Telelogic Change Synergy? 

                        Cheers, 
                        Tim 

                        
----------------------------------------------------------------- 
                        arplugin.log 

                        <PLGN> <TID: 000148> <RPC ID: 0000298803> <Queue: 
ARFILTERAPI> <Client-RPC: 390695> +CALL  ARFilterApiCall                  -- 
filter API ARSYS.ARF.WEBSERVICE

                        <PLGN> <TID: 000148> <RPC ID: 0000298803> <Queue: 
ARFILTERAPI> <Client-RPC: 390695> <> <FINE> soapService = ChangeService

                        <PLGN> <TID: 000148> <RPC ID: 0000298803> <Queue: 
ARFILTERAPI> <Client-RPC: 390695> <> <FINE> soapMethod = login 
                        <PLGN> <TID: 000148> <RPC ID: 0000298803> <Queue: 
ARFILTERAPI> <Client-RPC: 390695> <> <FINE> soapURL = 
http://trout.ov.otto.de:8601/webservices/ChangeService

                        <PLGN> <TID: 000148> <RPC ID: 0000298803> <Queue: 
ARFILTERAPI> <Client-RPC: 390695> <> <FINE> soapNamespace = 
http://www.telelogic.com/change

                        <PLGN> <TID: 000148> <RPC ID: 0000298803> <Queue: 
ARFILTERAPI> <Client-RPC: 390695> <> <FINE> soapInputDocument = <ROOT 
xmlns="http://www.telelogic.com/change/types"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

                                <username>remedy</username> 
                                <password>****</password> 
                                
<database>/var/opt/telelogic/ccmdb/dev_itsm</database> 
                                <role>User</role> 
                        </ROOT> 

                        <PLGN> <TID: 000148> <RPC ID: 0000298803> <Queue: 
ARFILTERAPI> <Client-RPC: 390695> <> <FINE> soapOperationDoc = <?xml 
version="1.0" encoding="windows-1252"?>                             

                                <operation name="login" type="create" 
useStyle="literal" bindingStyle="document"> 
                                        <inputMapping name="login" 
topLevelElement="login"/> 
                                        <outputMapping name="loginResponse" 
topLevelElement="loginResponse"/> 
                                </operation> 

                        <PLGN> <TID: 000148> <RPC ID: 0000298803> <Queue: 
ARFILTERAPI> <Client-RPC: 390695> <> <FINE> Number of inputs = 12 
                        <PLGN> <TID: 000148> <RPC ID: 0000298803> <Queue: 
ARFILTERAPI> <Client-RPC: 390695> <> <FINE> Input Env = 

                        <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

                         <soapenv:Body> 
                          <ns1:login 
xmlns="http://www.telelogic.com/change/types"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:ns1="http://www.telelogic.com/change";>

                                  <ns2:username 
xmlns:ns2="http://www.telelogic.com/change/types";>remedy</ns2:username> 

                                  <ns3:password 
xmlns:ns3="http://www.telelogic.com/change/types";>*****</ns3:password> 

                                  <ns4:database 
xmlns:ns4="http://www.telelogic.com/change/types";>/var/opt/telelogic/ccmdb/dev_itsm</ns4:database>

                                  <ns5:role 
xmlns:ns5="http://www.telelogic.com/change/types";>User</ns5:role> 

                        </ns1:login> 
                         </soapenv:Body> 
                        </soapenv:Envelope> 
                        <PLGN> <TID: 000148> <RPC ID: 0000298803> <Queue: 
ARFILTERAPI> <Client-RPC: 390695> <> <FINE> About to invoke 
                        <PLGN> <TID: 000148> <RPC ID: 0000298803> <Queue: 
ARFILTERAPI> <Client-RPC: 390695> <> <FINE> java.lang.RuntimeException: No 
support for attachments

                        <PLGN> <TID: 000148> <RPC ID: 0000298803> <Queue: 
ARFILTERAPI> <Client-RPC: 390695> -CALL                              FAIL

                 
                 
                __20060125_______________________This posting was submitted 
with HTML in it___ 

        __20060125_______________________This posting was submitted with HTML 
in it___ __20060125_______________________This posting was submitted with HTML 
in it___ 

__20060125_______________________This posting was submitted with HTML in it___ 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to