Receiver Axis Adapter to 3rd party webservice
Hi,
My scenario is ABAP Proxy --> PI --> 3rd party webservice using Soap Adapter with Axis protocal.
I'm getting the following error when attempting to post to the 3rd party web service:
nested exception is: java.net.SocketException: Connection timed out:could be due to invalid address
We do have to go through a proxy server to go outside the firewall. I'm not sure if this may be the issue, but I don't even see where you can set this in the AXIS adapter.
Can anyone shed some light on the topic?
Thanks and regards,
Duke
Configured as stated below, and the issue was resolved.
How can I call some service over an HTTP proxy server?
The Axis's standard and adapter's HTTPSender and CommonsHTTPSender handlers recognize the java's standard network properties (http.proxyHost, http.proxyPort, http.nonProxyHosts) for HTTP proxy setting. Please check that these System properties are correctly set at the J2EE server's System properties page. For more information on how to set Java System properties, please refer to the J2EE server's documentation (SAP Note 710146 How to change J2EE Engine JVM Settings).
Thanks and regards,
Duke
Edited by: Duke on Aug 5, 2010 5:37 PM
Similar Messages
-
IDOC XML to 3rd Party WebService
Hello,
I am new to XI. I want to now the possiblity and effort involved in using XI to receive an IDOC from an R/3 system and forward that IDOC as IDOC-XML to a WebService on a target 3rd Party application. The 3rd Party WebService would have as oe of its input the IDOC-XML and will return a status of success or failure of RECEIPT.
Is this a complex map in XI?
Thanks in advance for any information here.Hi,
>>>>>Is this a complex map in XI?
the mapping itself - depends how many values you
need to change (materials, partners ) and how
lookup etc.
the process - if you want to use the web service
in a sync way (to know the status) you will need
to use a BPM:
IDOC - BPM - sync WS
if the mapping will be easy (or non at all - just IDOC-XML) then the dev should take 1 day
+ tests etc...
Regards,
michal -
How to publish a 3rd party webservice ?
Hi Guys,
I have a wsdl file of the 3rd party webservice and now i need to consume this service in ABAP on ECC 6.0.
I am following the video presentation by Thomas Jung
/people/thomas.jung/blog/2007/12/17/consuming-services-with-abap
while doing so the service already exists in SOAMANAGER under services so that it will be aviable for consuming. How can i make my 3rd party WSDL to be available there. Do i need to publish my service ?
any suggestions or ideas would be appreciated
Thanks,
RajHi Rajeev,
I have consumed the the 3rd party WSDL and created the consumer proxy object with out publishing the service.
I have tried to define the Logical Port for this proxy in the SOAMANAGER and when i have provided all the details of the URL and Login details for the WSDL access settings with the option HTTP access.
I am getting the errros as below
SRT Framework Exception: Error in WSDL access: Exception occured in communication Framework:
Error in HTTP Framework:
I have tried the same URL in the browser with the login details and i am able to access the WSDL but from different server.
I am tryinng all these by logging into ECC 6.0 from the webgui on a different server. Do you think the actual ECC 6.0 server from where the request goes the might be blocked?
any help or suggestions would be appreciated
Thanks,
Raj -
Reframing my Question for RESTful 3rd Party WebService
My last posted question did not produce any feedback for what I was looking for, so I'm trying this again.
I have a Driver entity, and an gpsVehicleData entity. Drivers can have one gpsVehicleData (relationship)
In a grid screen I use; for THE most basic understanding I can get, I have one field I need updated from my 3rd party webservice. We'll call it gpsVehicleData.MotionStatus, and I need to use Driver.DriverID in the service to find his MotionStatus.
This is the example connection snippet I was given by the vendor.
Dim responseData As String = ""
Dim uri As String = "http://ws.samplegps.com/DriverWebService.svc/drivers/"
Dim request As System.Net.HttpWebRequest = Net.HttpWebRequest.Create(uri)
request.Method = "GET"
Dim companyLoginId As String = "12345"
Dim username As String = "John"
Dim password As String = "Doe4321"
Dim auth As String = companyLoginId + "|" + username + ":" + password
Dim authHeader As String = Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(auth))
request.Headers("Authorization") = authHeader
Try
Dim httpWebResponse As System.Net.HttpWebResponse = request.GetResponse()
If httpWebResponse.StatusCode = Net.HttpStatusCode.OK Then
Dim responseStream As IO.StreamReader = New IO.StreamReader(httpWebResponse.GetResponseStream())
responseData = responseStream.ReadToEnd()
Console.WriteLine(responseData)
Console.ReadKey()
End If
Catch ex As Exception
responseData = "An error occured: " & ex.Message
Console.WriteLine(responseData)
Console.ReadKey()
Great. So this works when I run in it's own solution, and it pops up a console window and shows all data for each of my drivers. My problem is, I cannot find an example I can follow to update the Motion property in EACH ROW (each driver of my Screen with
this snippet.
(A button function seems appropriate instead of Validate method, but honestly as long as it works I don't care.
This is the closest I have found but I'm not using Soap.
LightSwitch - Consuming Web Services
This is too, but much different than the first example!
Calling Web Services to Validate Data in Visual Studio LightSwitch
One example has something and not the other, and the other example has this but not that. Very frustrating for a new person!
I do not need to dive into RIA right now which has been suggested before.
I know I am not very knowledgeable in VB, but I need to use something applicable to my environment I can make more sense of. Thanks in advanceThis is the closest I have found but I'm not using Soap.
LightSwitch - Consuming Web Services
From your description, you can consider using method above, as I know, this way is available/convenient for your situation. -
Problems connecting 3rd party webservices from workerrole
Hello,
I have the problem that since 2015.01.28 ~22:00, my service deployed as a workerrole in an Azure instance cannot reach 3rd party webservices. This was a sudden issue as it worked for half a year without any changes.
The 3rd party webservices work fine, I can reach them from my development environment without any trouble, the provider of these webservices also could assure me that it works fine for others.
The call that fails is a simple WebClient call (with credentials) to a URL in order to read a (tiny) file and take followup actions.
The call fails with the following error:
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond
after a period of time, or established connection failed because connected host has failed to respond <ip:port>
The question: have there been any changes recently, either in the Azure services environment or networking that could explain this?
If i connect remotely to the instance and attempt to make the calls manually via IE, they succeed, but very slowly.
I have deployed the service to another datacenter as a test, so right now I have one running in East US and Western Europe, but both face the same issues. The service is running on Azure SDK 2.1, the instance is running on windows server 2012R2.
The service works fine when I run it on my development environment via compute emulator. No connection issues.
Any help is welcome, thanks ahead.Looks like a timeout issue. Try to increase timeout of your call to see if you get any success. If OK, then for sure it is timeout problem. Then check if it is DNS problem. Use IP address to call instead of hostname. You mention it is slow in IE. Where
is IE located? You can also try to call using IP address instead of hostname to see if it speeds up. Is it slow only the first call?
Frank -
Issue with SOAP receiver AXIS adapter
Hi All,
We have a scenario SOAP -- > PI -- > SOAP (axis) using SOAP 1.2 version synchnrous scenario. Using Webservice navigator am trying to trigger a message to PI .
Message has reached to PI box and failing in the receiver SOAP(axis) channel as :
Delivering to channel: Receive_SOAP_BulkFeedback 18.08.2014 10:33:24 Information MP: processing local module localejbs/AF_Adapters/axis/AFAdapterBean 18.08.2014 10:33:24 Error
MP: processing local module localejbs/AF_Adapters/axis/AFAdapterBean
MP: processing local module localejbs/AF_Adapters/axis/AFAdapterBean 18.08.2014 10:33:24 Error MP: exception caught with cause javax.ejb.EJBException: ASJ.ejb.005043 (Failed in component: sap.com/com.sap.aii.axis.app, BC-XI-CON-SOP) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.adapter.axis.modules.AFAdapterBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.adapter.axis.modules.AFAdapterBean@6bbad627 for bean sap.com/com.sap.aii.axis.app*xml|com.sap.aii.adapter.axis.ejb.jar*xml|AFAdapterBean in application sap.com/com.sap.aii.axis.app.; nested exception is: java.lang.NullPointerException: while trying to invoke the method com.sap.aii.af.lib.mp.module.SModule.process(com.sap.aii.af.lib.mp.module.ModuleContext, com.sap.aii.af.lib.mp.module.ModuleData) of an object loaded from field com.sap.aii.adapter.axis.modules.AFAdapterBean.core of an object
Please help and suggest.Hi Raja,
The end system is closing the communication. Try to reset your PI ICM instance. Also check if your PI system is affected by this note 1675953 - SSL Client Authentication failed with PI SOAP Axis Adapter
Regards. -
Testing a "Receiver SOAP Adapter" - Calling a remote webservice from PI
Hi ,
I am trying to call a remote webservice from PI 7.0.
The WSDL file is successfully imported to PI to create the required message types.
The "receiver SOAP adapter" is configured as the communication channel.
I would like to know the ways of testing the remote webservice from PI 7.0.
Thank you,
PandaHello there!
I think this link should help you
https://help.sap.com/saphelp_nwpi71/helpdata/en/46/793034608c0ad3e10000000a11466f/frameset.htm
Thanks and regards,
Caio Cagnani -
Partner Profile type : Receiving Data from an 3rd party sys & Posting IDoc
Hi all,
My scenario is Receiving Data from a third party system and sending it to a R3 system as an IDoc...
It is a B2B scenario.....
So please tell me what should be my Scheme for the indentifier that i will be mentioning in the sender party...
Should it be ALE#KU or ALE#LS.........
it is working fine with ALE#KU...i m getting an error if i define it as ALE#LS......
Is there an extra setting that should be done for configuring it as ALE#LS or , it is not possible configuring using ALE#LS
Thanks in Advance,
Sushil H.Hi Sushil,
I have a similar problem and opened a thread: Unable to convert the sender service ABC_Service to an ALE logical system
i was able to do it without specifying any identifier ...and mapping the sender information in the message mapping,,,,
Can you please tell me:
1) What value you specified in the mapping for sender (was it 3rd party/ PI/ R3)? Did you disable the other fields like RCVPRN/ RCVPOR etc?
2) Did you make any change in the receiver channel for IDOC (in identifier section)?
It will be very helpful to me if you reply.
Thank you,
Pankaj. -
Not receiving emails and downloading 3rd party apps
Hi everyone,
I am the new kid on the block with blackberry. I have a blackberry 8300 smartphone but I am have the following issues using it:
1. I can send out email from the blackberry email I set up on my blackberry through my network provider, I can not receive any email to the account.
2. I am unable to add my Lycos.com email address to the blackberry,
3. I am unable to download any 3rd party app on my blackberry, I get a message that the IT policy on my phone does not permit me to download third party app.
I have spoken to my network operator several times about this issue but no joy. Any idea on how I can resolve this, will be appreciated.
Seun01Hi and Welcome to the Forums!
There seems to be a widespread BB service outage at the moment. I suggest you stay tuned to these forums for updates and, after it is all clear, try things again...the things you note are all affected by this outage.
Cheers!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
I would like some advice please.
We are building a flex application which is consuming a 3rd
party web-service. We want to make sure that only the flex
application we made can have access to this 3rd party web-service.
The flex application will be publicly available, so there is no way
of putting in some authentication here. How should I configure the
proxy-config.xml to prevent other consumers (other than our flex
app) from using the web-service available through the flex proxy.Hi,
There are ways to secure destinations. Please visit the URL
below for details on how to secure destinations.
http://livedocs.adobe.com/blazeds/1/blazeds_devguide/services_config_3.html
Hope this helps. -
SOAP Client 4 consumin 3rd party WebService in NW Development Environment?
Hi,
First of all i'd admit that im new to all this. So my questions might be very premitive and i'd like to applogize before hand.
I want to consume a third party web service from an existing NW application.
Routes taken:
1- I tried with webservice navigator but it asks for WSIL. Although i gave the URL for WSDL i really dont know if it was right to give the URL for WSDL where a WSIL is expected.
Method1: Windows -> Perspective -> WebServices and there i tried to create a new one.
Response: Either i get a message "invalid response code" or by changing the url and pointing out the exact directory where the WSDL is located it gives me an XML parsing error.
Although if i give the URL in browser i directly land up on the WSDL document just like any other free web service. e.g http://www.webservicex.net/airport.asmx?wsdl
Method 2: Another guideline was provided in the documentation to go to
Windows ->Preferences->WebServices->Service Repository
But here im unable to find any SR might be due to the version i guess but i dont have any idea.
Method 3: Entering the http://<host>:<port>/wsnavigator/ in browser
It shows all the available services. If you try to create a new Service and give the WSDL location through the URL, it accepts the URL but on testing it reports that the WSDL can not be downloaded. Another important thing that it reports is
Features:
Non-SAP Web Service
I came across some articles where it was said that i need to make necessary changes in the WSDL file so that it digestable by SAP. If true can you give me any clues on that one please.
As far as the documentation is concerned i've been through it and following the guidelines i still could not get results. Like creating a deployable proxy for consuming a web service.
If any more information is required i'd be more than on my tows.
Regards,
Haroon
Edited by: Haroon.M on Apr 30, 2009 2:36 PMHi Barada,
First of all the version info:
Im using WAS 7.0 SP9.
Secondly im not accessing the back end im rather trying it from the NWDE by layin a further web service project that gives me the possibility to lay client proxy.
Here is one of the documentation links that i tried to follow.
http://help.sap.com/saphelp_erp2005/helpdata/en/2d/b9766df88f4a24967dae38cb672fe1/content.htm
Here are the content of WSDL file (Its a bit too lengthy and is exceeding the limit of 15000 chars.) and i only see the boxes in the preview. I cant figure out any other way paste the code.
But a rought description is that ive got several messages that have been encapsulated in three different ports and obviously three different bindings.
I dont know if this could be of any help in figuring out the problem.
<definitions xmlns:wsdlns="http://itf-edv.de/SISvr/wsdl/" xmlns:typens="http://itf-edv.de/SISvr/type/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:stk="http://schemas.microsoft.com/soap-toolkit/wsdl-extension" xmlns:dime="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/" xmlns:ref="http://schemas.xmlsoap.org/ws/2002/04/reference/" xmlns:content="http://schemas.xmlsoap.org/ws/2002/04/content-type/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" name="SISvr" targetNamespace="http://itf-edv.de/SISvr/wsdl/">
<wsdl:types>
<schema targetNamespace="http://itf-edv.de/SISvr/type/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" elementFormDefault="qualified">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<import namespace="http://schemas.xmlsoap.org/wsdl/"/>
<import namespace="http://schemas.xmlsoap.org/ws/2002/04/reference/"/>
<import namespace="http://schemas.xmlsoap.org/ws/2002/04/content-type/"/>
</schema>
</wsdl:types>
<message name="SoapSvr.ConnectEx">
<part name="strUser" type="xsd:string"/>
<part name="strPwd" type="xsd:string"/>
<part name="strDbUID" type="xsd:string"/>
<part name="strDbPWD" type="xsd:string"/>
<part name="strDbDSN" type="xsd:string"/>
</message>
<message name="SoapSvr.ConnectExResponse">
<part name="Result" type="xsd:int"/>
</message>
<message name="SoapSvr.GetDayMPAResponse">
<part name="Result" type="xsd:int"/>
<part name="strValue" type="xsd:string"/>
<part name="lState" type="xsd:int"/>
</message>
<message name="Inst.Remove">
<part name="lID" type="xsd:int"/>
</message>
<message name="Inst.RemoveResponse">
</message>
<message name="Inst.RemoveAll">
</message>
<message name="MeterData.GetResultMPA">
<part name="lID" type="xsd:int"/>
<part name="strDCId" type="xsd:string"/>
<part name="strMPAId" type="xsd:string"/>
<part name="strBegin" type="xsd:string"/>
<part name="strSpan" type="xsd:string"/>
<part name="strType" type="xsd:string"/>
<part name="strOption" type="xsd:string"/>
</message>
<message name="MeterData.GetResultMPAResponse">
<part name="Result" type="xsd:int"/>
<part name="strResult" type="xsd:anyType"/>
</message>
<portType name="SoapSvrSoapPort">
<operation name="ConnectEx" parameterOrder="strUser strPwd strDbUID strDbPWD strDbDSN">
<input message="wsdlns:SoapSvr.ConnectEx"/>
<output message="wsdlns:SoapSvr.ConnectExResponse"/>
</operation>
<operation name="GetDay" parameterOrder="lID strDCId strTimeStamp strValue lState">
<input message="wsdlns:SoapSvr.GetDay"/>
<output message="wsdlns:SoapSvr.GetDayResponse"/>
</operation>
<operation name="Disconnect" parameterOrder="lID">
<input message="wsdlns:SoapSvr.Disconnect"/>
<output message="wsdlns:SoapSvr.DisconnectResponse"/>
</operation>
<operation name="Connect" parameterOrder="strUser strPwd strDBProfile">
<input message="wsdlns:SoapSvr.Connect"/>
<output message="wsdlns:SoapSvr.ConnectResponse"/>
</operation>
</portType>
<portType name="InstSoapPort">
<operation name="Remove" parameterOrder="lID">
<input message="wsdlns:Inst.Remove"/>
<output message="wsdlns:Inst.RemoveResponse"/>
</operation>
<operation name="RemoveAll">
<input message="wsdlns:Inst.RemoveAll"/>
<output message="wsdlns:Inst.RemoveAllResponse"/>
</operation>
</portType>
<portType name="MeterDataSoapPort">
<operation name="GetProfile" parameterOrder="lID strDCId strBegin strSpan strOption strResult pPlsState">
<input message="wsdlns:MeterData.GetProfile"/>
<output message="wsdlns:MeterData.GetProfileResponse"/>
</operation>
<operation name="GetResult" parameterOrder="lID strDCId strBegin strSpan strType strOption strResult">
<input message="wsdlns:MeterData.GetResult"/>
<output message="wsdlns:MeterData.GetResultResponse"/>
</operation>
<operation name="GetResultMPA" parameterOrder="lID strDCId strMPAId strBegin strSpan strType strOption strResult">
<input message="wsdlns:MeterData.GetResultMPA"/>
<output message="wsdlns:MeterData.GetResultMPAResponse"/>
</operation>
</portType>
<binding name="SoapSvrSoapBinding" type="wsdlns:SoapSvrSoapPort">
<stk:binding preferredEncoding="ISO8859-1"/>
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="ConnectEx">
<soap:operation soapAction="http://itf-edv.de/SISvr/action/SoapSvr.ConnectEx"/>
<input>
<soap:body parts="strUser strPwd strDbUID strDbPWD strDbDSN" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://itf-edv.de/SISvr/message/"/>
</input>
<output>
<soap:body parts="Result" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://itf-edv.de/SISvr/message/"/>
</output>
</operation>
<operation name="GetDay">
<soap:operation soapAction="http://itf-edv.de/SISvr/action/SoapSvr.GetDay"/>
<input>
<soap:body parts="lID strDCId strTimeStamp" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://itf-edv.de/SISvr/message/"/>
</input>
<output>
<soap:body parts="Result strValue lState" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://itf-edv.de/SISvr/message/"/>
</output>
</operation>
<operation name="Disconnect">
<soap:operation soapAction="http://itf-edv.de/SISvr/action/SoapSvr.Disconnect"/>
<input>
<soap:body parts="lID" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://itf-edv.de/SISvr/message/"/>
</input>
<output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://itf-edv.de/SISvr/message/"/>
</output>
</operation>
<operation name="Connect">
<soap:operation soapAction="http://itf-edv.de/SISvr/action/SoapSvr.Connect"/>
<input>
<soap:body parts="strUser strPwd strDBProfile" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://itf-edv.de/SISvr/message/"/>
</input>
<output>
<soap:body parts="Result" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://itf-edv.de/SISvr/message/"/>
</output>
</operation>
<operation name="SetOption">
<soap:operation soapAction="http://itf-edv.de/SISvr/action/SoapSvr.SetOption"/>
<input>
<soap:body parts="lID strOption strValue" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://itf-edv.de/SISvr/message/"/>
</input>
<output>
<soap:body parts="Result" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://itf-edv.de/SISvr/message/"/>
</output>
</operation>
</binding>
<binding>
.....</binding>
<binding>
.....</binding>
<service name="SISvr">
<port name="SoapSvrSoapPort" binding="wsdlns:SoapSvrSoapBinding">
<soap:address location="http://ZFAAPISVR/ZFASOI/SISvr.WSDL"/>
</port>
<port name="InstSoapPort" binding="wsdlns:InstSoapBinding">
<soap:address location="http://ZFAAPISVR/ZFASOI/SISvr.WSDL"/>
</port>
<port name="MeterDataSoapPort" binding="wsdlns:MeterDataSoapBinding">
<soap:address location="http://ZFAAPISVR/ZFASOI/SISvr.WSDL"/>
</port>
</service>
</definitions>
By the way i came across something new dont really know if its gonna work out as expected. I tried to generate java classes through Axis2. Although i had some problems instantiating the classes but i was already skeptical about the working. Its just a wild guess that it still wont work with the proxies but thought its worth a try. Somehow got stuck at one point and have no clue what so ever.
Although i cant see the wsdl content in the preview but still givin it a shot.
Thanks again
Regards
Haroon -
ALL websites that i've visited have still placed tracking cookies, which i then need to individually delete after leaving their site.
They're not respecting that i don't want to be tracked, so what good is checking that box in my options?
Bring back NOT accepting cookies from 3rd parties. I don't need admanager, tacoda, etc cookies on my computer.
Also websites are displaying a js picture that i can't block. I block all pictures that contain people or animals for religious reasons.Selecting the "do-not-track" setting will only make Firefox send a specific HTTP header (DNT=1) to a web server.<br />
It is up to the server to do something with that request.
* http://blog.sidstamm.com/2011/01/opting-out-of-behavioral-ads.html
* http://blog.sidstamm.com/2011/01/try-out-do-not-track-http-header.html
* http://blog.mozilla.com/blog/2011/06/21/mozilla-delivers-new-version-of-firefox-first-web-browser-to-support-do-not-track-on-multiple-platforms/
* http://blog.mozilla.com/blog/2011/03/30/advertisers-and-publishers-adopt-and-implement-do-not-track/
* http://browserspy.dk/donottrack.php -
I am trying to adapt a 3rd party calendar script for
operation on my PHP
site. I'm guessing that the script was writted for use with
Access or
something besides MySQL since it uses "*" as a wildcard in
the SQL (which I
can fix). But it also uses that wildcard in the body, e.g.,
if (($val['day'] == $cellValue) && (($val['month']
== $this->month) ||
($val['month'] == '*')) && (($val['year'] ==
$this->year) || ($val['year']
== '*'))) {
How do I patch that - or do I even need to?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================Oh - I see. I thought it was a rather strange usage myself!
Hmmm....
OK - I'm going to have to look harder to see why I'm getting
an error here -
http://development.bayleys.com/test-calendar.php
The referenced line is contained in this block -
<?php
class CreateQCalendarArray {
var $daysInMonth;
var $weeksInMonth;
var $firstDay;
var $week;
var $month;
var $year;
var $counter;
function CreateQCalendarArray($month, $year) {
$this->month = $month;
$this->year = $year;
$this->week = array();
$this->daysInMonth =
date("t",mktime(0,0,0,$month,1,$year));
// get first day of the month
$this->firstDay = date("w",
mktime(0,0,0,$month,1,$year));
$tempDays = $this->firstDay + $this->daysInMonth;
$this->weeksInMonth = ceil($tempDays/7);
$this->fillArray();
function fillArray() {
// create a 2-d array
for($j=0;$j<$this->weeksInMonth;$j++) {
for($i=0;$i<7;$i++) {
$counter++;
$this->week[$j][$i] = $counter;
// offset the days
$this->week[$j][$i] -= $this->firstDay;
if (($this->week[$j][$i] < 1) ||
($this->week[$j][$i] >
$this->daysInMonth)) {
$this->week[$j][$i] = "";
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"David Powers" <[email protected]> wrote in message
news:[email protected]...
> Murray *ACE* wrote:
>> So, the "*" syntax is correct in PHP?
>
> No. I'm just commenting that the conditional statment is
rather
> meaningless. If * means anything, the condition boils
down to this in
> plain language:
>
> If the day is the same as the submitted value AND the
month is either this
> month or any other month AND the year is this year or
any other year.
>
> If any month and any year are acceptable, all that's
being checked is
> whether the day is the same as $cellValue.
>
> --
> David Powers, Adobe Community Expert
> Author, "The Essential Guide to Dreamweaver CS3"
(friends of ED)
> Author, "PHP Solutions" (friends of ED)
>
http://foundationphp.com/ -
IDOC as a receiver adapter in XI to 3rd party scenario
Hi All,
I have an requirement to connect sap xi and 3rd party. the scenario as given below:
sap ecc 6.0 --> sap xi --> 3rd party
Here ecc is sending an idoc to the 3rd party. The 3rd party is SAP certified and intelligent enough to receive and send idocs. Here I'm using a idoc adapter as a receiver adapter. In the receiver adapter I have to give a rfc destination and a port name.
My question is how to create a rfc destination for the 3rd party. and which port name we'll use in this case. Is the port name will be the 3rd party port name is yes then how I can create a port in the 3rd party system.
Please help.
Regards,
SantoshA communication channel with a receiver IDoc adapter can be created automatically for business systems that are defined in the System Landscape Directory. refer this link
[http://help.sap.com/saphelp_nw04/helpdata/en/42/d1a4d665c5574fa6e19784358ec948/frameset.htm]
You need to configure the receiver IDoc adapter to convert Integration Server contents from IDoc-XML to native IDoc format and to forward the IDocs to an SAP system .
you create a port and the rfc destination pointing to receiver in PI system
use tcode sm59 for creating rfc destination and IDX1 to create port and map it to rfc destination. -
PI 7.11 Receiver SOAP (Axis) Adapter with MTOM (Attachments)
Hello,
Iu2019m trying to configure the Receiver SOAP (Axis) adapter for sending SOAP attachments via MTOM to a third-party webservice, but I'm not getting that PI transform the binary encode64 data in an payload element into a MTOM attachment (xop:include).
The configuration looks like this:
Transport Protocol: HTTP (Axis)
SOAP Version: 1.2
Encapsulation Format: MTOM
Keep Attchments: enabled
Payload Extraction: SOAP Body Child
First of all, could you confirm if this is supported?
Or Axis only supports MTOM for the transport protocol 'File (Axis)' like it seems refered in [Configuring the Receiver Axis SOAP Adapter|http://help.sap.com/saphelp_nwpi711/helpdata/en/45/a3c48c87cd0039e10000000a11466f/frameset.htm]
Can you please provide me some guidance here?
Thanks in advance!
Kind Regards,
AlexandreHello,
I am facing the exact same issue.
I can't seem to set the cookie in the http header after following the guide.
Cookie: WSL-credential=MyOwnCookie
I managed to set the SOAPAction though.
Anyone has any ideas?
Maybe you are looking for
-
How to back up 'new files only' to external hard drive?
not sure i'm doing this the best way.... any suggestions would be great! i have my master photo/video library on my desktop (using a file tree that i've grown & know exactly where things are since 2003- (pre mac). that file is on mac + saved to an e
-
Actionscript 3.0 ArrayCollection issue!!
Hi there, in my mobile application I'm using an ArrayCollection to populate a list with a custom itemRenderer which includes a RadioButton. Now, when I click on the list items I'd like that the RadioButton selected property to be set to true. When I
-
RMAN-20021(How to resolve)
Version:10.2.0.1.0 OS: windows XP After registering the target database with recovery catalog(another database). when i am trying to create a local script, i am getting the below error. RMAN-03009: failure of create script command on default channel
-
Setting for whether to resize images or not in exportContext.propertyTable?
I have a plugin that creates multiple renditions of various sizes. For the sizes I require, the image sizes are set with the two properties LR_size_resizeType and LR_size_maxHeight. The issue I am facing is that the rendering process only reduces th
-
RC Error Code = 0x84020020
Does anyone know what this error code means. I am loading content using Import Manager into SRM-MDM and receiving this error message. The content has loaded successfully on another server/repository but not this one. The actual message reads "Impor