We help IT Professionals succeed at work.

Web Services

A Web service is a method of communication between two electronic devices over a network. It is a software function provided at a network address over the Web with the service always on as in the concept of utility computing. A web service has an interface described in Web Services Description Language (WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP (Simple Object Access Protocol) messages. There are two major classes of Web services: REST-compliant web services, and Arbitrary web services.

only 1 user is having issues with OOF , it goes on and off on its own,

 ERROR WHILE running test email auto configuration: local autodiscover failed through SCP

I ran test outlook web services and found the result (attached)


RunspaceId : 99504627-2906-4b82-89a2-54456e84723f
Id         : 1012
Type       : Warning
Message    : XML>Unknown Node:OwnerSmtpAddress OwnerSmtpAddress Line:http://schemas.microsoft.com/exchange/autodiscover
             /outlook/responseschema/2006a

RunspaceId : 99504627-2906-4b82-89a2-54456e84723f
Id         : 1012
Type       : Warning
Message    : XML>Object being deserialized: Microsoft.Exchange.Management.SystemConfigurationTasks.AutoDiscoverAlternat
             iveMailbox

RunspaceId : 99504627-2906-4b82-89a2-54456e84723f
Id         : 1012
Type       : Warning
Message    : XML>Element

While other users are not getting any errors.
Eammon1.txt
0
I have two WSDLs that I would like to generate into apex classes using the "Generate from WSDL" button in Salesforce, but I'm getting an initial error that the schema is incorrect.

Unsupported schema type: {http://www.w3.org/2001/XMLSchema}anyType

Open in new window


I have limited knowledge of working with WSDL files and wanted to see if this is an error that can be fixed or if the WSDL cannot be converted to an apex class due to types that are simply not supported in the apex language.

If so, are there other alternatives to create the apex class/methods needed? Or, is it just a manual process?

I've attached the two WSDL files saved as flat files.

Thanks for any help.
SSOws.txt
OLRws.txt
0
Hello,

I have a webservice that I,m trying to apply a custome security, when I try to call the service it display the following error:


http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">a:FailedAuthentication

At least one security token in the message could not be validated.


To add the security I modify the service config file:

[b][b]<services> <service name = "WcfService1.Service1"> <endpoint address="" binding="customBinding" bindingConfiguration="customBindingOasis" contract="WcfService1.IService1"> <headers> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:UsernameToken> <wsse:Username>USERNAME</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">PASSWORD</wsse:Password> </wsse:UsernameToken> </wsse:Security> </headers> </endpoint> </service> </services> <bindings> <customBinding> <binding name ="customBindingOasis"> <security authenticationMode="UserNameOverTransport" includeTimestamp="false" messageSecurityVersion="WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10"> <secureConversationBootstrap /> </security> <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"> <readerQuotas maxDepth="32"
0
Hi, I'm trying send to using SOAP to data,but it's keep sending the same value. I created array ,but didn't work

My code
OMS.OfferOrdered oOfferOrdered = new OMS.OfferOrdered();
            newOrders.Offers = new OMS.OfferOrdered[TotalNumberLine];
            OMS.OfferIDHeader oOfferIDHeader = new OMS.OfferIDHeader();
            OMS.OfferID oOfferID = new OMS.OfferID();


  while (reader.Read())
                {

 newOrders.Offers[i].Offer.Header.ID = reader["OfferHeaderID"].ToString();
}

Open in new window


Web services  Code

  public partial class OfferOrdered : PMObject {
        
        private OfferID offerField;

}


public partial class OfferOrdered : PMObject {
 [System.Xml.Serialization.XmlArrayAttribute(Order=9)]
        public OfferOrdered[] Offers {
            get {
                return this.offersField;
            }
            set {
                this.offersField = value;
                this.RaisePropertyChanged("Offers");
            }
        }
}
public partial class OfferIDHeader : PMObject {
 [System.Xml.Serialization.XmlElementAttribute(Order=1)]
        public string ID {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
                this.RaisePropertyChanged("ID");
            }
        }
}
 public OfferIDHeader Header {
            get {
                return this.headerField;
            }
            set {
                this.headerField = value;
                this.RaisePropertyChanged("Header");
            }
        }
}

Open in new window


Any idea much appreciated. Just want to know why is keep recording last number in the all the array.

For example

if in the order having ID 500,800,900.
It will keep saving in the array 900 for all the array[0],array[1] and  array[2]



MAny Thanks
0
I've been tasked with updating remote MS SQL database tables. I'd like best ideas for utilizing our IBM i to do this. I'm primarily and ILE-RPG, RPG Freeform programmer, but have worked using RPG-XML (which we have) and consuming  web services via a local MS SQL database. I'm also familiar with SQLLERPG to a degree.    

I have access to 'data source', 'Initial Catalog', 'User ID', and 'password' for the remote database tables.

All ideas are welcome and will rewards points accordingly.

Thanks,

Phil Knox
0
Hello,

I have this WCF service that works fine using soap1. I'm trying to change it to run in soap1.2 but I have not been able.

I have try changin diferents things in the webconfig.

First I change the basicHttpBinding for wsHttpBinding.  I also change the protocol , remove the soap1.1 and add the soap 1.2

How I can made that my WCF web service run in soap1.2?
0
I am currently developing a credit check app which uses web services and the response I get is in Json string format. I tried converting this to a Json object... however I was unsuccessful. I need to store this json result into an excel document. The json result is in the following format after desterilizing:

[
{
"Key": "CreditResult",
"Value": [
[
{
"Key": "ConsumerInfo",
"Value": {
"RecordSeq": "01",
"Part": "001",
"PartSeq": "01",
"ConsumerNo": "943599475",
"Surname": "TEST SURNAME",
"Forename1": "TEST NAME",
"Forename2": "",
"Forename3": "",
"Title": "MS",
"Gender": "F",
"NameInfoDate": "20170129",
"DateOfBirth": "20170101",
"IdentityNo1": "1234567891234",
"IdentityNo2": "",
"MaritalStatusCode": "",
"MaritalStatusDesc": "",
"Dependants": "00",
"SpouseName1": "",
"SpouseName2": "",
"TelephoneNumbers": "H(000)0000000 B(0000)0000",
"DeceasedDate": "00000000"
}
},
{
"Key": "LastAddress",
"Value": {
"ConsumerNo": "943599475",
"InformationDate": "20170911",
"Line1": "ABC",
"Line2": "",
"Suburb": "ABC",
"City": "ABC",
"PostalCode": "0000",
"ProvinceCode": "A",
"Province": "ABC",
"AddressPeriod": "00",
"OwnerTenant": "",
"AddressChanged": "Y"
}
}
],
[
{
"Key": "CreditScore",
"Value": {
"ConsumerNo": "943599475",
"PolicyFilters": [
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0"
],
"Indicators": [
{
"Type": "00",
"Score": "000"
},
{
"Type": "00",
"Score": "0"
},
{
"Type":…
0
Hi Experts;

I can send PHP Email from the command line connected to an Amazon Web Services EC2 instance configured with an Apache 2.4.2 server, PHP 7.0, and PHPMailer 6.01 through the AWS SES SMTP interface. I am unable however to send responses to an html form using PHPMailer to an Email address from the AWS website running on the same EC2 instance and server. Here is the code used to send PHP Email from the command line without any problems:

<?php
use PHPMailer\PHPMailer\PHPMailer;
require '/home/ec2-user/vendor/autoload.php';
$mail = new PHPMailer;
$mail->isSMTP();

$mail->setFrom('address@example.com', 'Verified Email');
$mail->addAddress('Recipient@receiver.com', 'Recipient Name');

$mail->Username = 'Amazon SMPT credentials';
$mail->Password = 'Amazon SMPT secret Key';
$mail->Host = 'email-smtp.us-west-2.amazonaws.com';

$mail->Subject = 'Testing Amazon SES SMTP PHP Mail';
$mail->Body = '<h1>Email Test</h1>
    <p>This email was sent through the
    <a href="https://aws.amazon.com/ses">Amazon SES</a> SMTP
    interface using the PHPMailer.</a><br><br></p>';

$mail->SMTPAuth = true;
$mail->SMTPSecure = 'tls';
$mail->Port = 587;
$mail->isHTML(true);

$mail->AltBody = "Email Test\r\n This email was sent through the
    Amazon SES SMTP interface using the PHPMailer class.";

if(!$mail->send()) {
    echo "Email not sent. " , $mail->ErrorInfo , PHP_EOL;
} else {
$mail->Send();  
echo "Email sent!" , PHP_EOL;
?>

I need help with …
0
I am looking for an eConnect method that will add an Item Warehouse record,  I am currently doing this using GP Web Services call CreateItemWarehouse(), but we find this to be much slower than using eConnect.  Any help would be appreciated.

Thanks, Bob
0
I've been watchin a video from Amazon on AWS Direct Connect. I see that a direct connection is made from Amazon Direct Connect PoP to a router in a co-location facility. The from there there is a circuit (say 1Gbps or 10Gbps) to the enterprise itself. The presentation at turns talked about the carrier owning the (a?) router and the customer owning the router. In the diagram attached below - the device labeled "Customer Gateway" is generally owned and configured by the end customer/user of Amazon Web Services? Or is that more typically owned by the carrier that is providing the data circuit? And finally if the carrier owns that device do they configure it or leave that to the customer? Thank you for clarifying this point for me.
AWS-Direct-Connect.jpg
0
Hello experts,

I need to develop a system to be used by users from different locations, I think the best option to do it is AWS. I already saw some services of AWS but till now, I'm not sure how to start and what services I will need. This is the first time that I make a system to use a database on a cloud. All the systems and apps that I have made before are for local use only or to access thru a remote desktop connections or TeamViewer , so I use a server to host the data bases and the programs.

I will use vb.net and MySQL database but I think I need a more things like a Virtual Server, maybe VPN and other things.

Does anybody have done something like this?

Please I need an advice, I'm a little lost.

Thank you very much in advance.
0
Which platform do you recommend to integrate with internal, external APIs, web services but also support robust message queuing mechanism ? Is it better to split the two i.e. separate API integration platform and message queue platform?
0
I am try to connect to web services and this show that error:

ERROR App Error sin controlar ---> com.sun.xml.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException: Connection refused: connect
      at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:132)
      at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:223)
      at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:145)
      at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:110)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1136)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:877)
      at com.sun.xml.ws.client.Stub.process(Stub.java:463)
      at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:191)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:92)
      at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:161)
      at com.sun.proxy.$Proxy41.updateEmail(Unknown Source)
      at com.bancoexterior.sf.SF.actualizarMail(SF.java:73)
      at com.bancoexterior.SF.updateMail(SF.java:317)
      at com.bancoexterior.App.accion(App.java:253)
      at com.bancoexterior.App.main(App.java:140)
Caused by: …
0
Which is the best place to learn Tableau Online?
0
Hello experts,

I need to build a MySQL database on Amazon Web Services, the application will be made in vb.net, since this is the first time I'm going to use this service, one of the main objective for this project is to send emails using the contacts that will be stored in the data base.

Is there any service I an use or I have to code using another service from Amazon?

So, I'm looking for an expert advice before continuing.

This is very important for my client, so I really appreciate the help you guys can give me.

Thank you so much in advance.
0
Let's say I've bought a domain called "mynicedomain.org"

Now I want to have a mail service. Let's say office 365 or gsuite so I can have an email address called "ben@mynicedomain.org"

Beyond that I want to buy a web hosting (like GoDaddy) service to serve "http://mynicedomain.org".

Maybe I also want an intranet service hosted by AWS virtual machine at "http://wwwin.mynicedomain.org".

Can this be accomplished? If so how it works? Who is going to be nameserver for my domain?
0
This is the code:
    public static function callApiUpdate($hostname, $ip)
    {
        $service_url = 'http://blablabla.com/api/updateDdns';
        $ch = curl_init($service_url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PUT");
/*
        $payload = array(
            'hostname' =>  $hostname,
            'ip' => $ip,
        );
        curl_setopt($ch, CURLOPT_HTTPHEADER,array('Content-Type: application/json')); 
        curl_setopt($ch, CURLOPT_POSTFIELDS,CJSON::encode($payload));
*/
        $response = curl_exec($ch);
/*
        if ($response === false) {
            $info = curl_getinfo($ch);
            curl_close($ch);
        }
*/
        curl_close($ch);
    }

Open in new window


Whenever I enable sending the payload the server where the API is executed doesn't receive any call while if I don't send any payload (and modify the api on the receiver server) the called server does receive the call.

Any idea why this could happen or something I forgot to check?
0
lost
i have the Microsoft Office 2003 Web Services Toolkit. and it created a new class clsws_CEMService
from http://www.pli.edu/public/CEM/Service.asmx?wsdl
need to create vba coding to use this webservice
"http://www.pli.edu/public/CEM/Service.asmx?op=CEMgetAttendence"
0
I am currently hosting an API as an Azure App service. But I want to move it into my Virtual Machine and run it in IIS.
I already set it up as I would with any website but for some reason the page does not come up. Is there anything in specific I need to do to run the service?
0
I was wondering why I should use Amazon Web Services for a relational database instead of just running the database on the server.

The application is as follows - apps will be able to enter data into this database. PHP will be able to export a CSV file.

I was going to use cryptography to secure remote access from the app. Would this be more desirable than a static IP VPN?

I'm leaning towards just having the database run on the server.
0
Dear
Our company would like to help employees to send Big size file over email system which based on EX2007 sp3
and need similar mechanism to Gmail email system
As you knew while u trying to send big file Gmail ask you to upload on one drive ,so is there similar solution with Ex2007 environment
Regards
0
I am curious about finding the cost to a big bank to process something like a bank transfer from one account to another...

I am thinking about my bank, where I have two accounts, where I may move a few hundred dollars from one account to another.

Is the cost less than a penny for such a transaction for a website or an iPhone app to make such a transfer? I assume there are overhead costs where auditors review blocks of transactions, but I am not asking about that. Just the marginal cost for a hosted and highly secure website to process a transaction.

Does anyone have an idea about this?
0
how to change the banner size in servicenow with script
0
I need a web service to remain secret and would use CloudFare or a similar technology to prevent DDoS attacks. Aside from DDoS, what other types of attacks are possible?

I assume my web service domain would be totally hidden, but need to be sure there is no other known threat to it.

Thanks
0
I love the notion that my REST web service could deliver a complete UI to the client, which that the client could then display complete functionality inside a window, on their own site. What's kind of client/server relationship is this?

Is this what Code-On-Demand does?

Does it return HTML/JavaScript/CSS?

What kind of control is needed on the client to receive this? An iframe?

What kind of problems might there be with this kind of interaction?
0

Web Services

A Web service is a method of communication between two electronic devices over a network. It is a software function provided at a network address over the Web with the service always on as in the concept of utility computing. A web service has an interface described in Web Services Description Language (WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP (Simple Object Access Protocol) messages. There are two major classes of Web services: REST-compliant web services, and Arbitrary web services.

Top Experts In
Web Services
<
Monthly
>